public abstract class UIAbstractChannelStripControls extends UIMixerStripControls implements UIContextActions
UI2dContainer.ArrowKeyFocus, UI2dContainer.Layout
UIContextActions.Action
Modifier and Type | Field and Description |
---|---|
protected UIContextActions.Action |
actionDelete |
protected UIContextActions.Action |
actionRename |
protected static float[][] |
ACTIVE_BUTTON_METRICS |
protected UIButton |
activeButton |
protected static float[][] |
ARM_BUTTON_METRICS |
protected UIButton |
armButton |
protected UIDropMenu |
blendMode |
protected LXAbstractChannel |
channel |
protected UIButtonGroup |
crossfadeGroup |
protected static float[][] |
CUE_BUTTON_METRICS |
protected UIButton |
cueButton |
protected UISlider |
fader |
protected static float[][] |
FADER_METRICS |
protected static int |
MARGIN |
protected static int |
NAME_HEIGHT_CHANNEL |
protected static int |
NAME_HEIGHT_GROUP |
protected static int |
NAME_WIDTH |
protected static int |
NAME_WIDTH_CONDENSED |
protected static int |
NAME_Y_CHANNEL |
protected static int |
NAME_Y_GROUP |
protected static int |
TITLE_MARGIN |
ACTIVE_BUTTON_Y, bus, condensed, FADER_HEIGHT, FADER_WIDTH, HEADER_HEIGHT, HEIGHT, lx, PADDING, ui, WIDTH, WIDTH_CONDENSED
bottomMargin, height, leftMargin, rightMargin, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, topMargin, width, x, y
children, hasFocus, mousePressContextMenu, visible
Modifier and Type | Method and Description |
---|---|
protected void |
addChannelElements(LXChannel channel) |
List<UIContextActions.Action> |
getContextActions()
Returns a list of context actions that should be shown for this item
|
protected UI2dComponent |
getName() |
protected void |
onCondensed(boolean condensed) |
void |
onKeyPressed(KeyEvent keyEvent,
char keyChar,
int keyCode)
Subclasses override to receive key events
|
getMixer, getMixerStrip, onDraw, onMousePressed, setColors, setCondensed
addChildren, addTopLevelComponent, getChild, getChildren, getContentHeight, getContentTarget, getContentWidth, iterator, newHorizontalContainer, newHorizontalContainer, newHorizontalContainer, newVerticalContainer, newVerticalContainer, newVerticalContainer, reflow, removeAllChildren, setArrowKeyFocus, setChildMargin, setChildSpacing, setChildSpacing, setContentHeight, setContentSize, setContentTarget, setContentWidth, setLayout, setMinHeight, setMinWidth, setPadding, setPadding, setPadding
addToContainer, addToContainer, breakTextToWidth, clipTextToWidth, contains, drawBackground, drawBorder, drawFocus, drawFocusCorners, drawFocusCorners, getBackgroundColor, getBorderColor, getBorderRounding, getBorderWeight, getContainer, getFocusColor, getFocusSize, getFont, getFontColor, getHeight, getNextSibling, getParent, getPrevSibling, getWidth, getX, getY, hasBackground, hasBorder, hasFont, hasFontColor, isMappable, onResize, redraw, removeFromContainer, setBackground, setBackgroundColor, setBorder, setBorderColor, setBorderRounding, setBorderWeight, setBottomMargin, setContainerIndex, setDescription, setFocusBackground, setFocusBackgroundColor, setFocusColor, setFocusCorners, setFont, setFontColor, setFontColor, setHeight, setLeftMargin, setMappable, setMargin, setMargin, setMargin, setPosition, setPosition, setPosition, setPosition, setRightMargin, setSize, setTextAlignment, setTextAlignment, setTextOffset, setTopMargin, setVisible, setWidth, setX, setY
addLoopTask, beginDraw, blur, bringToFront, consumeKeyEvent, consumeMousePress, consumeMouseWheelEvent, endDraw, focus, getDescription, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onBlur, onFocus, onUIResize, removeLoopTask, toggleVisible
onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMouseReleased, onMouseWheel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected static final int MARGIN
protected static final int TITLE_MARGIN
protected static final int NAME_Y_CHANNEL
protected static final int NAME_HEIGHT_CHANNEL
protected static final int NAME_Y_GROUP
protected static final int NAME_HEIGHT_GROUP
protected static final int NAME_WIDTH
protected static final int NAME_WIDTH_CONDENSED
protected static final float[][] ACTIVE_BUTTON_METRICS
protected static final float[][] CUE_BUTTON_METRICS
protected static final float[][] ARM_BUTTON_METRICS
protected static final float[][] FADER_METRICS
protected final LXAbstractChannel channel
protected final UIButton activeButton
protected final UIButton cueButton
protected final UIButton armButton
protected final UISlider fader
protected final UIDropMenu blendMode
protected final UIButtonGroup crossfadeGroup
protected final UIContextActions.Action actionRename
protected final UIContextActions.Action actionDelete
protected UI2dComponent getName()
getName
in class UIMixerStripControls
protected void onCondensed(boolean condensed)
onCondensed
in class UIMixerStripControls
protected void addChannelElements(LXChannel channel)
public void onKeyPressed(KeyEvent keyEvent, char keyChar, int keyCode)
UIEventHandler
onKeyPressed
in class UIMixerStripControls
keyEvent
- Key eventkeyChar
- Key characterkeyCode
- Key code valuepublic List<UIContextActions.Action> getContextActions()
UIContextActions
getContextActions
in interface UIContextActions
LX library by Mark C. Slee. © 2012-2020