public class UITriggerModulationButton extends UIButton implements UITriggerSource
UIButton.Action, UIButton.Triggeractive, activeColor, enabled, exactToggleTime, inactiveColor, isMomentary, momentaryPressValidDEFAULT_HEIGHT, useCommandEnginebottomMargin, height, leftMargin, rightMargin, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, topMargin, width, x, ychildren, hasFocus, mousePressContextMenu, visible| Constructor and Description |
|---|
UITriggerModulationButton(UI ui,
LX lx,
BooleanParameter trigger,
float x,
float y,
float w,
float h) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Objects are encouraged to override this method providing a helpful String displayed to the user explaining
the function of this UI component.
|
BooleanParameter |
getTriggerSource() |
void |
onToggle(boolean on)
Subclasses may override this to handle changes to the button's state
|
getControlTarget, getParameter, getTriggerTarget, isActive, onBlur, onClick, onDraw, onKeyPressed, onKeyReleased, onMouseDragged, onMousePressed, onMouseReleased, removeParameter, setActive, setActive, setActiveColor, setActiveIcon, setActiveLabel, setEnabled, setIcon, setIconOffset, setIconOffsetX, setIconOffsetY, setInactiveColor, setInactiveIcon, setInactiveLabel, setLabel, setMomentary, setParameter, setParameter, setTriggerable, togglegetContextActions, getOscAddress, setNormalizedCommand, setUseCommandEngineaddToContainer, 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, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onFocus, onUIResize, removeLoopTask, toggleVisibleonKeyTyped, onMouseClicked, onMouseMoved, onMouseOut, onMouseOver, onMouseWheelpublic UITriggerModulationButton(UI ui, LX lx, BooleanParameter trigger, float x, float y, float w, float h)
public void onToggle(boolean on)
UIButtonpublic BooleanParameter getTriggerSource()
getTriggerSource in interface UITriggerSourcegetTriggerSource in class UIButtonpublic String getDescription()
UIObjectgetDescription in class UIButtonLX library by Mark C. Slee. © 2012-2020