Package heronarts.lx.studio.ui.mixer
Class UIAbstractChannelStripControls
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
- All Implemented Interfaces:
UIContainer,UIContextActions,LXLoopTask,Iterable<UIObject>
- Direct Known Subclasses:
UIChannelStripControls,UIGroupStripControls
public abstract class UIAbstractChannelStripControls
extends UIMixerStripControls
implements UIContextActions
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.glx.ui.UI2dContainer
UI2dContainer.ArrowKeyFocus, UI2dContainer.Layout, UI2dContainer.PositionNested classes/interfaces inherited from class heronarts.glx.ui.UI2dComponent
UI2dComponent.Scissor, UI2dComponent.Scissored, UI2dComponent.UIDragReorderNested classes/interfaces inherited from interface heronarts.glx.ui.UIContextActions
UIContextActions.Action, UIContextActions.ContextAction -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final UIContextActions.Actionprotected final UIContextActions.Actionprotected static final float[][]protected final UIButtonprotected static final float[][]protected final UIButtonprotected final UIButtonprotected final UIDropMenuprotected final LXAbstractChannelprotected final UIButtonGroupprotected static final float[][]protected final UIButtonprotected final UISliderprotected static final float[][]protected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected final UIViewSelectorFields 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_CONDENSEDFields inherited from class heronarts.glx.ui.UI2dContainer
bottomPadding, childSpacingX, childSpacingY, leftPadding, rightPadding, topPaddingFields inherited from class heronarts.glx.ui.UI2dComponent
borderRoundingBottomLeft, borderRoundingBottomRight, borderRoundingTopLeft, borderRoundingTopRight, debug, debugName, hasBorderRounding, height, marginBottom, marginLeft, marginRight, marginTop, redraw, scissor, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, width, x, y -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddChannelElements(LXChannel channel) voiddispose()Returns a list of context actions that should be shown for this itemprotected UI2dComponentgetName()protected voidonCondensed(boolean condensed) voidonKeyPressed(KeyEvent keyEvent, char keyChar, int keyCode) Subclasses override to receive key eventsvoidonMouseDragged(MouseEvent mouseEvent, float mx, float my, float dx, float dy) Subclasses override to receive mouse eventsvoidonMousePressed(MouseEvent mouseEvent, float mx, float my) Subclasses override to receive mouse eventsvoidonMouseReleased(MouseEvent mouseEvent, float mx, float my) Subclasses override to receive mouse eventsMethods inherited from class heronarts.lx.studio.ui.mixer.UIMixerStripControls
getMixer, getMixerStrip, onDraw, setColors, setCondensedMethods inherited from class heronarts.glx.ui.UI2dContainer
addChildren, addTopLevelComponent, getBottomPadding, getChild, getChildren, getChildSpacingX, getChildSpacingY, getContentHeight, getContentTarget, getContentWidth, getLeftPadding, getRightPadding, getScrollHeight, getScrollWidth, getTopPadding, hasDragToReorder, isEmpty, iterator, newHorizontalContainer, newHorizontalContainer, newHorizontalContainer, newVerticalContainer, newVerticalContainer, newVerticalContainer, onReflow, reflow, removeAllChildren, removeAllChildren, setArrowKeyFocus, setChildMargin, setChildSpacing, setChildSpacing, setChildSpacingX, setChildSpacingY, setContentHeight, setContentSize, setContentTarget, setContentWidth, setDragToReorder, setLayout, setLayout, setMinHeight, setMinWidth, setPadding, setPadding, setPaddingMethods inherited from class heronarts.glx.ui.UI2dComponent
addAfterSibling, addBeforeSibling, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, assertValidContainer, clipTextToWidth, clipTextToWidth, contains, dbch, drawBackground, drawBorder, drawComponentBackground, drawFocus, drawFocusCorners, drawFocusCorners, drawParentBackground, getAbsoluteX, getAbsoluteY, getBackgroundColor, getBorderColor, getBorderWeight, getBottomMargin, getContainer, getDebugClassHierarchy, getDebugClassHierarchy, getFocusColor, getFocusSize, getFont, getFontColor, getHeight, getLeftMargin, getMappableParameter, getNextSibling, getNextSibling, getParent, getPrevSibling, getPrevSibling, getRightMargin, getTopMargin, 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, vgRoundedRectMethods inherited from class heronarts.glx.ui.UIObject
addListener, addListener, addLoopTask, addLoopTask, blur, bringToFront, focus, getDescription, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, isVisible, loop, onBlur, onFocus, onUIResize, removeLoopTask, requireUIThread, setConsumeMousePress, setDebugId, setMouseCursor, toggleVisible, toStringMethods inherited from class heronarts.glx.ui.UIEventHandler
onGamepadAxisChanged, onGamepadButtonPressed, onGamepadButtonReleased, onKeyReleased, onMouseMoved, onMouseOut, onMouseOver, onMouseScrollMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
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
-
activeButton
-
cueButton
-
auxButton
-
armButton
-
fader
-
viewSelector
-
blendMode
-
crossfadeGroup
-
actionRename
-
actionDelete
-
-
Method Details
-
getName
- Specified by:
getNamein classUIMixerStripControls
-
onCondensed
protected void onCondensed(boolean condensed) - Specified by:
onCondensedin classUIMixerStripControls
-
addChannelElements
-
onKeyPressed
Description copied from class:UIEventHandlerSubclasses override to receive key events- Overrides:
onKeyPressedin classUIMixerStripControls- Parameters:
keyEvent- Key eventkeyChar- Key characterkeyCode- Key code value
-
onMousePressed
Description copied from class:UIEventHandlerSubclasses override to receive mouse events- Overrides:
onMousePressedin classUIMixerStripControls- Parameters:
mouseEvent- Mouse eventmx- x-coordinatemy- y-coordinate
-
onMouseDragged
Description copied from class:UIEventHandlerSubclasses override to receive mouse events- Overrides:
onMouseDraggedin classUIEventHandler- Parameters:
mouseEvent- Mouse eventmx- x-coordinatemy- y-coordinatedx- movement in xdy- movement in y
-
onMouseReleased
Description copied from class:UIEventHandlerSubclasses override to receive mouse events- Overrides:
onMouseReleasedin classUIEventHandler- Parameters:
mouseEvent- Mouse eventmx- x-coordinatemy- y-coordinate
-
getContextActions
Description copied from interface:UIContextActionsReturns a list of context actions that should be shown for this item- Specified by:
getContextActionsin interfaceUIContextActions- Returns:
- List of context actions
-
dispose
public void dispose()
-