public class UIEffectDevice extends UIDevice implements UIDuplicate, UIContextActions
UI2dContainer.ArrowKeyFocus, UI2dContainer.Layout
UIContextActions.Action
Modifier and Type | Field and Description |
---|---|
UIDeviceControls |
controls |
CHEVRON_PADDING, component, content, device, DEVICE_BAR_WIDTH, ENABLED_BUTTON_PADDING, HEIGHT, MARGIN, MODULATOR_SIZE, modulatorContent, PADDING, TITLE_MARGIN, TITLE_PADDING
bottomMargin, height, leftMargin, rightMargin, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, topMargin, width, x, y
children, hasFocus, mousePressContextMenu, visible
Constructor and Description |
---|
UIEffectDevice(LXStudio.UI ui,
LXBus bus,
LXEffect effect) |
Modifier and Type | Method and Description |
---|---|
List<UIContextActions.Action> |
getContextActions()
Returns a list of context actions that should be shown for this item
|
LXClipboardItem |
onCopy() |
void |
onKeyPressed(KeyEvent keyEvent,
char keyChar,
int keyCode)
Subclasses override to receive key events
|
void |
onKeyReleased(KeyEvent keyEvent,
char keyChar,
int keyCode)
Subclasses override to receive key events
|
void |
onPaste(LXClipboardItem item) |
addContentPicker, addToContainer, drawFocus, onDraw, onMousePressed, reflow, setEnabledButton, setEnabledButton, setTitle, setTitle
addChildren, addTopLevelComponent, getChild, getChildren, getContentHeight, getContentTarget, getContentWidth, iterator, newHorizontalContainer, newHorizontalContainer, newHorizontalContainer, newVerticalContainer, newVerticalContainer, newVerticalContainer, removeAllChildren, setArrowKeyFocus, setChildMargin, setChildSpacing, setChildSpacing, setContentHeight, setContentSize, setContentTarget, setContentWidth, setLayout, setMinHeight, setMinWidth, setPadding, setPadding, setPadding
addToContainer, breakTextToWidth, clipTextToWidth, contains, drawBackground, drawBorder, 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
onKeyTyped, onMouseClicked, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMouseReleased, onMouseWheel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public final UIDeviceControls controls
public UIEffectDevice(LXStudio.UI ui, LXBus bus, LXEffect effect)
public void onKeyPressed(KeyEvent keyEvent, char keyChar, int keyCode)
UIEventHandler
onKeyPressed
in class UIDevice
keyEvent
- Key eventkeyChar
- Key characterkeyCode
- Key code valuepublic void onKeyReleased(KeyEvent keyEvent, char keyChar, int keyCode)
UIEventHandler
onKeyReleased
in class UIEventHandler
keyEvent
- Key eventkeyChar
- Key characterkeyCode
- Key code valuepublic LXClipboardItem onCopy()
public void onPaste(LXClipboardItem item)
public List<UIContextActions.Action> getContextActions()
UIContextActions
getContextActions
in interface UIContextActions
LX library by Mark C. Slee. © 2012-2020