Class UIPane

All Implemented Interfaces:
UIContainer, LXLoopTask, Iterable<UIObject>
Direct Known Subclasses:
UILeftPane, UIRightPane

public abstract class UIPane extends UI2dContainer
  • Field Details

  • Constructor Details

  • Method Details

    • buildHeader

      protected UI2dContainer buildHeader(int i)
    • updateHeaderHeight

      protected void updateHeaderHeight(int i)
    • onResize

      protected void onResize()
      Description copied from class: UI2dComponent
      Subclasses may override this method, invoked when the component is resized
      Overrides:
      onResize in class UI2dComponent
    • drawBackground

      protected void drawBackground(UI ui, VGraphics vg)
      Overrides:
      drawBackground in class UI2dComponent
    • onDraw

      protected void onDraw(UI ui, VGraphics vg)
      Description copied from class: UI2dComponent
      Subclasses should override this method to perform their drawing functions.
      Overrides:
      onDraw in class UI2dContainer
      Parameters:
      ui - UI context
      vg - Graphics context
    • toggleActiveSection

      public UIPane toggleActiveSection(int delta)
    • toggleActiveSection

      public UIPane toggleActiveSection()
    • getActiveSection

      public int getActiveSection()
    • setActiveSection

      public UIPane setActiveSection(int index)
    • onMousePressed

      public void onMousePressed(MouseEvent mouseEvent, float mx, float my)
      Description copied from class: UIEventHandler
      Subclasses override to receive mouse events
      Overrides:
      onMousePressed in class UIEventHandler
      Parameters:
      mouseEvent - Mouse event
      mx - x-coordinate
      my - y-coordinate