Package heronarts.glx.ui.component
Class UIDynamicColorPicker
java.lang.Object
heronarts.glx.ui.UIEventHandler
heronarts.glx.ui.UIObject
heronarts.glx.ui.UI2dComponent
heronarts.glx.ui.component.UIColorPicker
heronarts.glx.ui.component.UIDynamicColorPicker
- All Implemented Interfaces:
UIFocus,UIKeyFocus,UIMouseFocus,UITabFocus,LXLoopTask
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.glx.ui.component.UIColorPicker
UIColorPicker.Corner, UIColorPicker.UIColorOverlayNested classes/interfaces inherited from class heronarts.glx.ui.UI2dComponent
UI2dComponent.Scissor, UI2dComponent.Scissored, UI2dComponent.UIDragReorder -
Field Summary
Fields inherited from class heronarts.glx.ui.UI2dComponent
borderRoundingBottomLeft, borderRoundingBottomRight, borderRoundingTopLeft, borderRoundingTopRight, debug, debugName, hasBorderRounding, height, marginBottom, marginLeft, marginRight, marginTop, redraw, scissor, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, width, x, y -
Constructor Summary
ConstructorsConstructorDescriptionUIDynamicColorPicker(float x, float y, float w, float h, LXDynamicColor dynamicColor) UIDynamicColorPicker(LXDynamicColor dynamicColor) -
Method Summary
Modifier and TypeMethodDescriptionprotected UIColorPicker.UIColorOverlaybuildColorOverlay(UI ui) protected voidDraws focus on this object.voidonKeyPressed(KeyEvent keyEvent, char keyChar, int keyCode) Subclasses override to receive key eventsMethods inherited from class heronarts.glx.ui.component.UIColorPicker
dispose, drawBorder, hideOverlay, onDraw, onMousePressed, setCorner, setDeviceMode, setDrawColor, setEnabledMethods inherited from class heronarts.glx.ui.UI2dComponent
addAfterSibling, addBeforeSibling, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, assertValidContainer, clipTextToWidth, clipTextToWidth, contains, dbch, drawBackground, drawComponentBackground, 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.UIObject
addListener, addListener, addLoopTask, addLoopTask, blur, bringToFront, focus, getDescription, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, isVisible, loop, onBlur, onFocus, onUIResize, removeLoopTask, requireUIThread, setConsumeMousePress, setDebugId, setMouseCursor, toggleVisible, toStringMethods inherited from class heronarts.glx.ui.UIEventHandler
onGamepadAxisChanged, onGamepadButtonPressed, onGamepadButtonReleased, onKeyReleased, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMouseReleased, onMouseScroll
-
Constructor Details
-
UIDynamicColorPicker
-
UIDynamicColorPicker
-
-
Method Details
-
drawFocus
Description copied from class:UI2dComponentDraws focus on this object. May be overridden by subclasses to provide custom focus-drawing behavior.- Overrides:
drawFocusin classUI2dComponent- Parameters:
ui- UIvg- VGraphics
-
onKeyPressed
Description copied from class:UIEventHandlerSubclasses override to receive key events- Overrides:
onKeyPressedin classUIColorPicker- Parameters:
keyEvent- Key eventkeyChar- Key characterkeyCode- Key code value
-
buildColorOverlay
- Overrides:
buildColorOverlayin classUIColorPicker
-