Class UIAbstractGlobalModulator.UIModulation

All Implemented Interfaces:
UIContainer, UIContextActions, UIFocus, UIKeyFocus, UIMouseFocus, UITabFocus, LXLoopTask, Iterable<UIObject>
Direct Known Subclasses:
UIAbstractGlobalModulator.UICompoundModulation
Enclosing class:
UIAbstractGlobalModulator

public abstract class UIAbstractGlobalModulator.UIModulation extends UI2dContainer implements UIFocus, UIContextActions
  • Field Details

  • Method Details

    • getLabel

      protected abstract UIParameterLabel getLabel()
    • getIcon

      protected abstract UIImage getIcon()
    • remove

      protected abstract void remove()
    • getModulationColor

      protected int getModulationColor(UI ui)
    • drawFocus

      public void drawFocus(UI ui, VGraphics vg)
      Description copied from class: UI2dComponent
      Draws focus on this object. May be overridden by subclasses to provide custom focus-drawing behavior.
      Overrides:
      drawFocus in class UI2dComponent
      Parameters:
      ui - UI
      vg - VGraphics
    • 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
    • onFocus

      protected void onFocus(Event event)
      Description copied from class: UIObject
      Subclasses override when element is focused
      Overrides:
      onFocus in class UIObject
      Parameters:
      event - Event that caused the focus to occur
    • onBlur

      protected void onBlur()
      Description copied from class: UIObject
      Subclasses override when element loses focus
      Overrides:
      onBlur in class UIObject
    • getContextActions

      public List<UIContextActions.Action> getContextActions()
      Description copied from interface: UIContextActions
      Returns a list of context actions that should be shown for this item
      Specified by:
      getContextActions in interface UIContextActions
      Returns:
      List of context actions