Class UIClipEnvelope<T extends LXClipLane<?>>

All Implemented Interfaces:
UI2dComponent.Scissored, UIContainer, UIFocus, UIKeyFocus, UIMouseFocus, UITabFocus, LXLoopTask, LXParameterListener, Iterable<UIObject>
Direct Known Subclasses:
UIMidiClipEnvelope, UIParameterClipEnvelope, UIPatternClipEnvelope

public abstract class UIClipEnvelope<T extends LXClipLane<?>> extends UIClipLane implements UIFocus, UI2dComponent.Scissored, LXParameterListener
  • Field Details

  • Constructor Details

    • UIClipEnvelope

      protected UIClipEnvelope(UI ui, UIClipEditor clipEditor, T lane)
  • Method Details

    • create

      public static UIClipEnvelope<?> create(UI ui, UIClipEditor clipEditor, LXClipLane<?> lane)
    • constructMetadata

      protected UIClipEnvelope<T>.UIClipLaneMetadata constructMetadata(UI ui)
    • onParameterChanged

      public void onParameterChanged(LXParameter p)
      Description copied from interface: LXParameterListener
      Invoked when the value of a parameter is changed.
      Specified by:
      onParameterChanged in interface LXParameterListener
      Parameters:
      p - The parameter that has changed its 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: UIClipLane
      Focus lost
      Overrides:
      onBlur in class UIClipLane
    • onKeyPressed

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

      protected void deleteSelection()
      Description copied from class: UIClipLane
      Subclasses can override to delete events within the selection range
      Overrides:
      deleteSelection in class UIClipLane
    • deleteLane

      protected void deleteLane(KeyEvent keyEvent)
      Subclasses may override if they're deleteable
      Parameters:
      keyEvent - Key event triggering delete action
    • dispose

      public void dispose()
      Overrides:
      dispose in class UIClipLane