Package heronarts.lx.studio.ui.mixer
Class UIChannelStripControls
java.lang.Object
heronarts.glx.ui.UIEventHandler
heronarts.glx.ui.UIObject
heronarts.glx.ui.UI2dComponent
heronarts.glx.ui.UI2dContainer
heronarts.lx.studio.ui.mixer.UIMixerStripControls
heronarts.lx.studio.ui.mixer.UIAbstractChannelStripControls
heronarts.lx.studio.ui.mixer.UIChannelStripControls
- All Implemented Interfaces:
UIContainer
,UIContextActions
,UICopy
,UIDuplicate
,UIPaste
,LXLoopTask
,Iterable<UIObject>
public class UIChannelStripControls
extends UIAbstractChannelStripControls
implements UIContextActions, UIDuplicate
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.glx.ui.UI2dContainer
UI2dContainer.ArrowKeyFocus, UI2dContainer.Layout, UI2dContainer.Position
Nested classes/interfaces inherited from class heronarts.glx.ui.UI2dComponent
UI2dComponent.Scissor, UI2dComponent.Scissored, UI2dComponent.UIDragReorder
Nested classes/interfaces inherited from interface heronarts.glx.ui.UIContextActions
UIContextActions.Action
-
Field Summary
Fields inherited from class heronarts.lx.studio.ui.mixer.UIAbstractChannelStripControls
actionDelete, actionRename, ACTIVE_BUTTON_METRICS, activeButton, ARM_BUTTON_METRICS, armButton, auxButton, blendMode, crossfadeGroup, CUE_BUTTON_METRICS, cueButton, fader, FADER_METRICS, MARGIN, NAME_HEIGHT_CHANNEL, NAME_HEIGHT_GROUP, NAME_WIDTH, NAME_WIDTH_CONDENSED, NAME_Y_CHANNEL, NAME_Y_GROUP, TITLE_MARGIN, viewSelector
Fields inherited from class heronarts.lx.studio.ui.mixer.UIMixerStripControls
ACTIVE_BUTTON_Y, bus, condensed, FADER_HEIGHT, FADER_WIDTH, HEADER_HEIGHT, HEIGHT, lx, PADDING, ui, WIDTH, WIDTH_CONDENSED
Fields inherited from class heronarts.glx.ui.UI2dComponent
debug, debugName, height, marginBottom, marginLeft, marginRight, marginTop, redraw, scissor, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, width, x, y
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Returns a list of context actions that should be shown for this itemprotected UI2dComponent
getName()
protected void
onCondensed
(boolean condensed) onCopy()
void
onKeyPressed
(KeyEvent keyEvent, char keyChar, int keyCode) Subclasses override to receive key eventsvoid
onPaste
(LXClipboardItem item) Methods inherited from class heronarts.lx.studio.ui.mixer.UIAbstractChannelStripControls
addChannelElements, onMouseDragged, onMousePressed, onMouseReleased
Methods inherited from class heronarts.lx.studio.ui.mixer.UIMixerStripControls
getMixer, getMixerStrip, onDraw, setColors, setCondensed
Methods inherited from class heronarts.glx.ui.UI2dContainer
addChildren, addTopLevelComponent, getBottomPadding, getChild, getChildren, getContentHeight, getContentTarget, getContentWidth, getLeftPadding, getRightPadding, getScrollHeight, getScrollWidth, getTopPadding, hasDragToReorder, iterator, newHorizontalContainer, newHorizontalContainer, newHorizontalContainer, newVerticalContainer, newVerticalContainer, newVerticalContainer, onReflow, reflow, removeAllChildren, removeAllChildren, setArrowKeyFocus, setChildMargin, setChildSpacing, setChildSpacing, setContentHeight, setContentSize, setContentTarget, setContentWidth, setDragToReorder, setLayout, setLayout, setMinHeight, setMinWidth, setPadding, setPadding, setPadding
Methods inherited from class heronarts.glx.ui.UI2dComponent
addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, assertValidContainer, clipTextToWidth, clipTextToWidth, contains, dbch, drawBackground, drawBorder, drawFocus, drawFocusCorners, drawFocusCorners, drawParentBackground, getAbsoluteX, getAbsoluteY, getBackgroundColor, getBorderColor, getBorderWeight, getContainer, getDebugClassHierarchy, getDebugClassHierarchy, getFocusColor, getFocusSize, getFont, getFontColor, getHeight, getMappableParameter, getNextSibling, getParent, getPrevSibling, getWidth, getX, getY, hasBackground, hasBorder, hasFont, hasFontColor, isMappable, onResize, redraw, removeFromContainer, removeFromContainer, setBackground, setBackgroundColor, setBackgroundColor, setBorder, setBorderColor, setBorderColor, setBorderRounding, setBorderRounding, setBorderWeight, setBottomMargin, setContainerIndex, setContainerPosition, setDebug, setDebug, setDescription, setFocusBackground, setFocusBackgroundColor, setFocusBackgroundColor, setFocusColor, setFocusColor, setFocusCorners, setFont, setFontColor, setFontColor, setFontColor, setHeight, setLeftMargin, setMappable, setMargin, setMargin, setMargin, setPosition, setPosition, setPosition, setPosition, setRightMargin, setSize, setTextAlignment, setTextAlignment, setTextOffset, setTopMargin, setVisible, setWidth, setX, setY, vgRoundedRect, vgRoundedRect, vgRoundedRect
Methods inherited from class heronarts.glx.ui.UIObject
addListener, addListener, addLoopTask, blur, bringToFront, focus, getDescription, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, loop, onBlur, onFocus, onUIResize, removeLoopTask, requireUIThread, setConsumeMousePress, setDebugId, toggleVisible, toString
Methods inherited from class heronarts.glx.ui.UIEventHandler
onKeyReleased, onMouseMoved, onMouseOut, onMouseOver, onMouseScroll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface heronarts.glx.ui.UIDuplicate
onDuplicate
-
Method Details
-
getName
- Overrides:
getName
in classUIAbstractChannelStripControls
-
dispose
public void dispose()- Overrides:
dispose
in classUIAbstractChannelStripControls
-
onCondensed
protected void onCondensed(boolean condensed) - Overrides:
onCondensed
in classUIAbstractChannelStripControls
-
onKeyPressed
Description copied from class:UIEventHandler
Subclasses override to receive key events- Overrides:
onKeyPressed
in classUIAbstractChannelStripControls
- Parameters:
keyEvent
- Key eventkeyChar
- Key characterkeyCode
- Key code value
-
getContextActions
Description copied from interface:UIContextActions
Returns a list of context actions that should be shown for this item- Specified by:
getContextActions
in interfaceUIContextActions
- Overrides:
getContextActions
in classUIAbstractChannelStripControls
- Returns:
- List of context actions
-
onCopy
-
onPaste
-