Package heronarts.lx.studio.ui.mixer
Class UIMixer
java.lang.Object
heronarts.glx.ui.UIEventHandler
heronarts.glx.ui.UIObject
heronarts.glx.ui.UI2dComponent
heronarts.glx.ui.UI2dContainer
heronarts.lx.studio.ui.mixer.UIMixer
- All Implemented Interfaces:
UIContainer,UIContextActions,LXLoopTask,Iterable<UIObject>
-
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 TypeFieldDescriptionstatic final intfinal BooleanParameterfinal Map<LXAbstractChannel, UIMixerStrip> final UIClipGridStripstatic final intstatic final intprotected booleanstatic final intstatic final intfinal UIMasterStripfinal UI2dContainerstatic final intstatic final intstatic final floatfinal UISceneStripFields 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Returns a list of context actions that should be shown for this itemfloatfloatfloatprotected voidonReflow()protected voidonResize()Subclasses may override this method, invoked when the component is resizedvoidsetDynamicWidth(float maxWidth) voidsetFixedWidth(float width) voidtoggleGridView(boolean gridView) voidupdateScrollX(float delta) Methods 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, onDraw, onKeyPressed, 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, 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, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMousePressed, onMouseReleased, 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
-
PADDING
public static final int PADDING- See Also:
-
INNER_HEIGHT
public static final int INNER_HEIGHT- See Also:
-
OUTER_HEIGHT
public static final int OUTER_HEIGHT- See Also:
-
CLOSED_INNER_HEIGHT
public static final int CLOSED_INNER_HEIGHT- See Also:
-
CLOSED_OUTER_HEIGHT
public static final int CLOSED_OUTER_HEIGHT- See Also:
-
EXPANDED_MIXER_Y
public static final int EXPANDED_MIXER_Y- See Also:
-
ADD_CHANNEL_WIDTH
public static final int ADD_CHANNEL_WIDTH- See Also:
-
SCENE_MASTER_WIDTH
public static final float SCENE_MASTER_WIDTH- See Also:
-
channelStrips
-
clipGridScrollStrip
-
masterStrip
-
sceneStrip
-
noChannels
-
condensed
protected boolean condensed -
centerPerformanceView
-
-
Constructor Details
-
UIMixer
-
-
Method Details
-
addScrollListener
-
setFixedWidth
public void setFixedWidth(float width) -
setDynamicWidth
public void setDynamicWidth(float maxWidth) -
getScrollableWidth
public float getScrollableWidth() -
getScrollContentWidth
public float getScrollContentWidth() -
getScrollX
public float getScrollX() -
updateScrollX
public void updateScrollX(float delta) -
onResize
protected void onResize()Description copied from class:UI2dComponentSubclasses may override this method, invoked when the component is resized- Overrides:
onResizein classUI2dComponent
-
onReflow
protected void onReflow()- Overrides:
onReflowin classUI2dContainer
-
toggleGridView
public void toggleGridView(boolean gridView) -
dispose
public void dispose() -
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
-