Class UIAbstractChannelStripControls

All Implemented Interfaces:
UIContainer, UIContextActions, LXLoopTask, Iterable<UIObject>
Direct Known Subclasses:
UIChannelStripControls, UIGroupStripControls

public abstract class UIAbstractChannelStripControls extends UIMixerStripControls implements UIContextActions
  • Field Details

    • MARGIN

      protected static final int MARGIN
      See Also:
    • TITLE_MARGIN

      protected static final int TITLE_MARGIN
      See Also:
    • NAME_Y_CHANNEL

      protected static final int NAME_Y_CHANNEL
      See Also:
    • NAME_HEIGHT_CHANNEL

      protected static final int NAME_HEIGHT_CHANNEL
      See Also:
    • NAME_Y_GROUP

      protected static final int NAME_Y_GROUP
      See Also:
    • NAME_HEIGHT_GROUP

      protected static final int NAME_HEIGHT_GROUP
      See Also:
    • NAME_WIDTH

      protected static final int NAME_WIDTH
      See Also:
    • NAME_WIDTH_CONDENSED

      protected static final int NAME_WIDTH_CONDENSED
      See Also:
    • ACTIVE_BUTTON_METRICS

      protected static final float[][] ACTIVE_BUTTON_METRICS
    • CUE_BUTTON_METRICS

      protected static final float[][] CUE_BUTTON_METRICS
    • ARM_BUTTON_METRICS

      protected static final float[][] ARM_BUTTON_METRICS
    • FADER_METRICS

      protected static final float[][] FADER_METRICS
    • channel

      protected final LXAbstractChannel channel
    • activeButton

      protected final UIButton activeButton
    • cueButton

      protected final UIButton cueButton
    • auxButton

      protected final UIButton auxButton
    • armButton

      protected final UIButton armButton
    • fader

      protected final UISlider fader
    • viewSelector

      protected final UIViewSelector viewSelector
    • blendMode

      protected final UIDropMenu blendMode
    • crossfadeGroup

      protected final UIButtonGroup crossfadeGroup
    • actionRename

      protected final UIContextActions.Action actionRename
    • actionDelete

      protected final UIContextActions.Action actionDelete
  • Method Details

    • getName

      protected UI2dComponent getName()
      Specified by:
      getName in class UIMixerStripControls
    • onCondensed

      protected void onCondensed(boolean condensed)
      Specified by:
      onCondensed in class UIMixerStripControls
    • addChannelElements

      protected void addChannelElements(LXChannel channel)
    • 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 UIMixerStripControls
      Parameters:
      keyEvent - Key event
      keyChar - Key character
      keyCode - Key code value
    • 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 UIMixerStripControls
      Parameters:
      mouseEvent - Mouse event
      mx - x-coordinate
      my - y-coordinate
    • onMouseDragged

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

      public void onMouseReleased(MouseEvent mouseEvent, float mx, float my)
      Description copied from class: UIEventHandler
      Subclasses override to receive mouse events
      Overrides:
      onMouseReleased in class UIEventHandler
      Parameters:
      mouseEvent - Mouse event
      mx - x-coordinate
      my - y-coordinate
    • 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
    • dispose

      public void dispose()
      Overrides:
      dispose in class UIObject