Class UIPerformancePane.ExpandableSection

All Implemented Interfaces:
UIContainer, UIFocus, UIKeyFocus, UIMouseFocus, UITabFocus, LXLoopTask, Iterable<UIObject>
Direct Known Subclasses:
UIPerformanceDevice
Enclosing class:
UIPerformancePane

public abstract static class UIPerformancePane.ExpandableSection extends UIPerformancePane.Section
  • Field Details

    • expanded

      protected boolean expanded
  • Constructor Details

    • ExpandableSection

      protected ExpandableSection(UI ui, float height, BooleanParameter expandedParameter)
  • Method Details

    • setExpanded

      protected void setExpanded(boolean expanded)
    • onExpanded

      protected abstract void onExpanded(boolean isExpanded)
    • onDraw

      public 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
    • 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
    • onKeyPressed

      public void onKeyPressed(KeyEvent keyEvent, char keyChar, int keyCode)
      Description copied from class: UIEventHandler
      Subclasses override to receive key events
      Overrides:
      onKeyPressed in class UI2dContainer
      Parameters:
      keyEvent - Key event
      keyChar - Key character
      keyCode - Key code value