Class WClippedPanel

Direct Known Subclasses:
WListPanel

public class WClippedPanel extends WPanel
A panel that is clipped to only render widgets inside its bounds.
  • Constructor Details

    • WClippedPanel

      public WClippedPanel()
  • Method Details

    • paint

      @Environment(CLIENT) public void paint(DrawContext context, int x, int y, int mouseX, int mouseY)
      Description copied from class: WWidget
      Paints this widget.
      Overrides:
      paint in class WPanel
      Parameters:
      context - the draw context
      x - this widget's X coordinate on the screen
      y - this widget's Y coordinate on the screen
      mouseX - the X coordinate of the cursor
      mouseY - the X coordinate of the cursor