public abstract class UIAbstractGlobalModulator extends UIModulator implements UIMouseFocus, UIKeyFocus, UITriggerTarget, UIDuplicate
| Modifier and Type | Class and Description |
|---|---|
protected class |
UIAbstractGlobalModulator.UICompoundModulation |
protected class |
UIAbstractGlobalModulator.UIModulation |
UI2dContainer.ArrowKeyFocus, UI2dContainer.Layout| Modifier and Type | Field and Description |
|---|---|
protected static int |
COLOR_WIDTH |
LXComponent |
component |
protected static int |
CONTENT_Y |
protected static int |
LOOP_WIDTH |
static int |
MAP_WIDTH |
protected UI2dContainer |
modulations |
LXModulator |
modulator |
protected static int |
PADDING |
protected UITextBox |
title |
protected static int |
TITLE_X |
protected UI2dComponent |
toggleTarget |
bottomMargin, height, leftMargin, rightMargin, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, topMargin, width, x, ychildren, hasFocus, mousePressContextMenu, visible| Constructor and Description |
|---|
UIAbstractGlobalModulator(UI ui,
LX lx,
LXComponent component,
boolean isModulator,
float x,
float y,
float w,
float h) |
| Modifier and Type | Method and Description |
|---|---|
UIAbstractGlobalModulator |
_removeModulation(LXParameterModulation modulation) |
UIAbstractGlobalModulator |
addModulation(LXCompoundModulation modulation) |
UIAbstractGlobalModulator |
addTrigger(LXTriggerModulation trigger) |
String |
getIdentifier() |
BooleanParameter |
getTriggerTarget() |
boolean |
isExpanded() |
LXClipboardItem |
onCopy() |
void |
onKeyPressed(KeyEvent keyEvent,
char keyChar,
int keyCode)
Subclasses override to receive key events
|
void |
onMousePressed(MouseEvent mouseEvent,
float mx,
float my)
Subclasses override to receive mouse events
|
void |
onPaste(LXClipboardItem item) |
UIAbstractGlobalModulator |
removeModulation(LXCompoundModulation modulation) |
UIAbstractGlobalModulator |
removeTrigger(LXTriggerModulation trigger) |
UIAbstractGlobalModulator |
setExpanded(boolean expanded) |
UIAbstractGlobalModulator |
toggleExpanded() |
getModulationSourceUI, setModulationSourceUIaddChildren, 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, setPaddingaddToContainer, 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, setYaddLoopTask, beginDraw, blur, bringToFront, consumeKeyEvent, consumeMousePress, consumeMouseWheelEvent, endDraw, focus, getDescription, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onBlur, onDraw, onFocus, onUIResize, removeLoopTask, toggleVisibleonKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMouseReleased, onMouseWheelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected static final int PADDING
protected static final int TITLE_X
protected static final int CONTENT_Y
public static final int MAP_WIDTH
protected static final int LOOP_WIDTH
protected static final int COLOR_WIDTH
public final LXComponent component
public final LXModulator modulator
protected final UI2dComponent toggleTarget
protected final UITextBox title
protected final UI2dContainer modulations
public UIAbstractGlobalModulator(UI ui, LX lx, LXComponent component, boolean isModulator, float x, float y, float w, float h)
public String getIdentifier()
public UIAbstractGlobalModulator setExpanded(boolean expanded)
public UIAbstractGlobalModulator toggleExpanded()
public boolean isExpanded()
public UIAbstractGlobalModulator addModulation(LXCompoundModulation modulation)
public UIAbstractGlobalModulator _removeModulation(LXParameterModulation modulation)
public UIAbstractGlobalModulator removeModulation(LXCompoundModulation modulation)
public UIAbstractGlobalModulator addTrigger(LXTriggerModulation trigger)
public UIAbstractGlobalModulator removeTrigger(LXTriggerModulation trigger)
public BooleanParameter getTriggerTarget()
getTriggerTarget in interface UITriggerTargetpublic void onKeyPressed(KeyEvent keyEvent, char keyChar, int keyCode)
UIEventHandleronKeyPressed in class UI2dContainerkeyEvent - Key eventkeyChar - Key characterkeyCode - Key code valuepublic void onMousePressed(MouseEvent mouseEvent, float mx, float my)
UIEventHandleronMousePressed in class UIEventHandlermouseEvent - Mouse eventmx - x-coordinatemy - y-coordinatepublic LXClipboardItem onCopy()
public void onPaste(LXClipboardItem item)
LX library by Mark C. Slee. © 2012-2020