public static class UIButton.Trigger extends UIButton
UIButton.Action, UIButton.Trigger
Modifier and Type | Field and Description |
---|---|
static int |
HEIGHT |
static int |
WIDTH |
active, activeColor, enabled, exactToggleTime, inactiveColor, isMomentary, momentaryPressValid
DEFAULT_HEIGHT, useCommandEngine
bottomMargin, height, leftMargin, rightMargin, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, topMargin, width, x, y
children, hasFocus, mousePressContextMenu, visible
Constructor and Description |
---|
Trigger(UI ui,
BooleanParameter trigger,
float x,
float y) |
Trigger(UI ui,
float x,
float y) |
Modifier and Type | Method and Description |
---|---|
LXParameter |
getControlTarget() |
UIButton.Trigger |
setControlTarget(LXParameter controlTarget) |
getDescription, getParameter, getTriggerSource, getTriggerTarget, isActive, onBlur, onClick, onDraw, onKeyPressed, onKeyReleased, onMouseDragged, onMousePressed, onMouseReleased, onToggle, removeParameter, setActive, setActive, setActiveColor, setActiveIcon, setActiveLabel, setEnabled, setIcon, setIconOffset, setIconOffsetX, setIconOffsetY, setInactiveColor, setInactiveIcon, setInactiveLabel, setLabel, setMomentary, setParameter, setParameter, setTriggerable, toggle
getContextActions, getOscAddress, setNormalizedCommand, setUseCommandEngine
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, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onFocus, onUIResize, removeLoopTask, toggleVisible
onKeyTyped, onMouseClicked, onMouseMoved, onMouseOut, onMouseOver, onMouseWheel
public static final int HEIGHT
public static final int WIDTH
public Trigger(UI ui, float x, float y)
public Trigger(UI ui, BooleanParameter trigger, float x, float y)
public UIButton.Trigger setControlTarget(LXParameter controlTarget)
public LXParameter getControlTarget()
getControlTarget
in interface UIControlTarget
getControlTarget
in class UIButton
LX library by Mark C. Slee. © 2012-2020