Class UIMappingButton.Trigger
java.lang.Object
heronarts.glx.ui.UIEventHandler
heronarts.glx.ui.UIObject
heronarts.glx.ui.UI2dComponent
heronarts.glx.ui.component.UIParameterComponent
heronarts.glx.ui.component.UIButton
heronarts.lx.studio.ui.modulation.UIMappingButton
heronarts.lx.studio.ui.modulation.UIMappingButton.Trigger
- All Implemented Interfaces:
UIContextActions
,UIControlTarget
,UIFocus
,UIKeyFocus
,UIMouseFocus
,UITabFocus
,UITriggerSource
,UITriggerTarget
,LXLoopTask
- Enclosing class:
- UIMappingButton
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.studio.ui.modulation.UIMappingButton
UIMappingButton.Midi, UIMappingButton.Parameter, UIMappingButton.Trigger
Nested classes/interfaces inherited from class heronarts.glx.ui.component.UIButton
UIButton.Action, UIButton.EnumFormatter, UIButton.Expander, UIButton.Toggle, UIButton.Tooltip
Nested classes/interfaces inherited from class heronarts.glx.ui.UI2dComponent
UI2dComponent.Scissor, UI2dComponent.Scissored, UI2dComponent.UIDragReorder
-
Field Summary
Fields inherited from class heronarts.lx.studio.ui.modulation.UIMappingButton
modulationEngine, ui
Fields inherited from class heronarts.glx.ui.component.UIButton
active, activeColor, enabled, inactiveColor, isMomentary, momentaryPressValid
Fields inherited from class heronarts.glx.ui.component.UIParameterComponent
DEFAULT_HEIGHT, useCommandEngine
Fields inherited from class heronarts.glx.ui.UI2dComponent
debug, debugName, height, marginBottom, marginLeft, marginRight, marginTop, redraw, scissor, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, width, x, y
-
Constructor Summary
ConstructorDescriptionTrigger
(UI ui, LXModulationEngine modulationEngine, BooleanParameter trigger, float x, float y, float w, float h) Trigger
(UI ui, BooleanParameter trigger, float x, float y, float w, float h) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected boolean
Methods inherited from class heronarts.lx.studio.ui.modulation.UIMappingButton
isForceActiveMode, onToggle
Methods inherited from class heronarts.glx.ui.component.UIButton
dispose, getControlTarget, getDescription, getParameter, getTriggerSourceParameter, getTriggerTarget, getTriggerTargetParameter, isActive, onBlur, onClick, onDraw, onKeyPressed, onKeyReleased, onMouseDragged, onMousePressed, onMouseReleased, removeParameter, setActive, setActive, setActiveColor, setActiveColor, setActiveFontColor, setActiveFontColor, setActiveIcon, setActiveLabel, setControlSource, setControlTarget, setEnabled, setEnumFormatter, setIcon, setIconColor, setIconColor, setIconColor, setIconOffset, setIconOffsetX, setIconOffsetY, setInactiveColor, setInactiveColor, setInactiveIcon, setInactiveLabel, setLabel, setMomentary, setParameter, setParameter, setTriggerable, toggle
Methods inherited from class heronarts.glx.ui.component.UIParameterComponent
getContextActions, getOscAddress, setEnableContextActions, setModulationRangeCommand, setNormalizedCommand, setUseCommandEngine
Methods inherited from class heronarts.glx.ui.UI2dComponent
addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, assertValidContainer, clipTextToWidth, clipTextToWidth, contains, dbch, drawBackground, drawBorder, drawFocus, drawFocusCorners, drawFocusCorners, drawParentBackground, getAbsoluteX, getAbsoluteY, getBackgroundColor, getBorderColor, getBorderWeight, getContainer, getDebugClassHierarchy, getDebugClassHierarchy, getFocusColor, getFocusSize, getFont, getFontColor, getHeight, getMappableParameter, getNextSibling, getParent, getPrevSibling, getWidth, getX, getY, hasBackground, hasBorder, hasFont, hasFontColor, isMappable, onResize, redraw, removeFromContainer, removeFromContainer, setBackground, setBackgroundColor, setBackgroundColor, setBorder, setBorderColor, setBorderColor, setBorderRounding, setBorderRounding, setBorderWeight, setBottomMargin, setContainerIndex, setContainerPosition, setDebug, setDebug, setDescription, setFocusBackground, setFocusBackgroundColor, setFocusBackgroundColor, setFocusColor, setFocusColor, setFocusCorners, setFont, setFontColor, setFontColor, setFontColor, setHeight, setLeftMargin, setMappable, setMargin, setMargin, setMargin, setPosition, setPosition, setPosition, setPosition, setRightMargin, setSize, setTextAlignment, setTextAlignment, setTextOffset, setTopMargin, setVisible, setWidth, setX, setY, vgRoundedRect, vgRoundedRect, vgRoundedRect
Methods inherited from class heronarts.glx.ui.UIObject
addListener, addListener, addLoopTask, blur, bringToFront, focus, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, loop, onFocus, onUIResize, removeLoopTask, requireUIThread, setConsumeMousePress, setDebugId, toggleVisible, toString
Methods inherited from class heronarts.glx.ui.UIEventHandler
onMouseMoved, onMouseOut, onMouseOver, onMouseScroll
-
Constructor Details
-
Trigger
-
Trigger
-
Trigger
public Trigger(UI ui, LXModulationEngine modulationEngine, BooleanParameter trigger, float x, float y, float w, float h)
-
-
Method Details
-
activateMappingMode
protected void activateMappingMode()- Specified by:
activateMappingMode
in classUIMappingButton
-
isValidMappingMode
- Specified by:
isValidMappingMode
in classUIMappingButton
-
getTriggerSource
- Specified by:
getTriggerSource
in interfaceUITriggerSource
- Overrides:
getTriggerSource
in classUIButton
-