Package heronarts.lx.studio.ui.effect
Class UIEffectToggleButton
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.glx.ui.component.UIButton.Toggle
heronarts.lx.studio.ui.effect.UIEffectToggleButton
- All Implemented Interfaces:
- UIContextActions,- UIControlTarget,- UIFocus,- UIKeyFocus,- UIMouseFocus,- UITabFocus,- UITriggerSource,- UITriggerTarget,- LXLoopTask
- 
Nested Class SummaryNested classes/interfaces inherited from class heronarts.glx.ui.component.UIButtonUIButton.Action, UIButton.EnumFormatter, UIButton.EnumIcon, UIButton.Expander, UIButton.Toggle, UIButton.Tooltip, UIButton.TriggerNested classes/interfaces inherited from class heronarts.glx.ui.UI2dComponentUI2dComponent.Scissor, UI2dComponent.Scissored, UI2dComponent.UIDragReorderNested classes/interfaces inherited from interface heronarts.glx.ui.UIContextActionsUIContextActions.ContextAction
- 
Field SummaryFields inherited from class heronarts.glx.ui.component.UIButton.ToggleSIZEFields inherited from class heronarts.glx.ui.component.UIButtonactive, activeColor, enabled, inactiveColor, isMomentary, momentaryPressValidFields inherited from class heronarts.glx.ui.component.UIParameterComponentDEFAULT_HEIGHT, useCommandEngineFields inherited from class heronarts.glx.ui.UI2dComponentborderRoundingBottomLeft, borderRoundingBottomRight, borderRoundingTopLeft, borderRoundingTopRight, debug, debugName, hasBorderRounding, height, marginBottom, marginLeft, marginRight, marginTop, redraw, scissor, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, width, x, y
- 
Constructor SummaryConstructorsConstructorDescriptionUIEffectToggleButton(float x, float y, LXEffect effect) UIEffectToggleButton(LXEffect effect) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddrawBorder(UI ui, VGraphics vg) Returns a list of context actions that should be shown for this itemvoidSubclasses should override this method to perform their drawing functions.voidonKeyPressed(KeyEvent keyEvent, char keyChar, int keyCode) Subclasses override to receive key eventsvoidonMousePressed(MouseEvent mouseEvent, float mx, float my) Subclasses override to receive mouse eventsMethods inherited from class heronarts.glx.ui.component.UIButtondispose, getControlTarget, getDescription, getParameter, getTriggerSource, getTriggerSourceParameter, getTriggerTargetParameter, isActive, onBlur, onClick, onKeyReleased, onMouseDragged, onMouseReleased, onToggle, removeParameter, setActive, setActive, setActiveColor, setActiveColor, setActiveFontColor, setActiveFontColor, setActiveIcon, setActiveLabel, setControlSource, setControlTarget, setEnabled, setEnumFormatter, setEnumIcon, setIcon, setIconColor, setIconColor, setIconColor, setIconLabel, setIconOffset, setIconOffsetX, setIconOffsetY, setInactiveColor, setInactiveColor, setInactiveFontColor, setInactiveFontColor, setInactiveIcon, setInactiveLabel, setLabel, setMomentary, setParameter, setParameter, setTriggerable, toggleMethods inherited from class heronarts.glx.ui.component.UIParameterComponentgetOscAddress, setEnableContextActions, setModulationRangeCommand, setNormalizedCommand, setUseCommandEngineMethods inherited from class heronarts.glx.ui.UI2dComponentaddAfterSibling, addBeforeSibling, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, assertValidContainer, clipTextToWidth, clipTextToWidth, contains, dbch, drawBackground, drawComponentBackground, drawFocus, drawFocusCorners, drawFocusCorners, drawParentBackground, getAbsoluteX, getAbsoluteY, getBackgroundColor, getBorderColor, getBorderWeight, getBottomMargin, getContainer, getDebugClassHierarchy, getDebugClassHierarchy, getFocusColor, getFocusSize, getFont, getFontColor, getHeight, getLeftMargin, getMappableParameter, getNextSibling, getNextSibling, getParent, getPrevSibling, getPrevSibling, getRightMargin, getTopMargin, 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, vgRoundedRectMethods inherited from class heronarts.glx.ui.UIObjectaddListener, addListener, addLoopTask, addLoopTask, blur, bringToFront, focus, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, isVisible, loop, onFocus, onUIResize, removeLoopTask, requireUIThread, setConsumeMousePress, setDebugId, setMouseCursor, toggleVisible, toStringMethods inherited from class heronarts.glx.ui.UIEventHandleronGamepadAxisChanged, onGamepadButtonPressed, onGamepadButtonReleased, onMouseMoved, onMouseOut, onMouseOver, onMouseScroll
- 
Constructor Details- 
UIEffectToggleButton
- 
UIEffectToggleButton
 
- 
- 
Method Details- 
onKeyPressedDescription copied from class:UIEventHandlerSubclasses override to receive key events- Overrides:
- onKeyPressedin class- UIButton
- Parameters:
- keyEvent- Key event
- keyChar- Key character
- keyCode- Key code value
 
- 
onMousePressedDescription copied from class:UIEventHandlerSubclasses override to receive mouse events- Overrides:
- onMousePressedin class- UIButton
- Parameters:
- mouseEvent- Mouse event
- mx- x-coordinate
- my- y-coordinate
 
- 
drawBorder- Overrides:
- drawBorderin class- UI2dComponent
 
- 
onDrawDescription copied from class:UI2dComponentSubclasses should override this method to perform their drawing functions.
- 
getTriggerTarget- Specified by:
- getTriggerTargetin interface- UITriggerTarget
- Overrides:
- getTriggerTargetin class- UIButton
 
- 
getContextActionsDescription copied from interface:UIContextActionsReturns a list of context actions that should be shown for this item- Specified by:
- getContextActionsin interface- UIContextActions
- Overrides:
- getContextActionsin class- UIParameterComponent
- Returns:
- List of context actions
 
 
-