public class UIDynamicColorPicker extends UIColorPicker implements UIFocus
UIColorPicker.Corner, UIColorPicker.UIColorOverlaybottomMargin, height, leftMargin, rightMargin, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, topMargin, width, x, ychildren, hasFocus, mousePressContextMenu, visible| Constructor and Description |
|---|
UIDynamicColorPicker(float x,
float y,
float w,
float h,
LXDynamicColor dynamicColor) |
UIDynamicColorPicker(LXDynamicColor dynamicColor) |
| Modifier and Type | Method and Description |
|---|---|
protected UIColorPicker.UIColorOverlay |
buildColorOverlay(UI ui) |
protected void |
drawFocus(UI ui,
PGraphics pg)
Draws focus on this object.
|
void |
onKeyPressed(KeyEvent keyEvent,
char keyChar,
int keyCode)
Subclasses override to receive key events
|
hideOverlay, onMousePressed, setCorner, setEnabledaddToContainer, addToContainer, breakTextToWidth, clipTextToWidth, contains, drawBackground, drawBorder, 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, getDescription, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onBlur, onDraw, onFocus, onUIResize, removeLoopTask, toggleVisibleonKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMouseReleased, onMouseWheelpublic UIDynamicColorPicker(LXDynamicColor dynamicColor)
public UIDynamicColorPicker(float x,
float y,
float w,
float h,
LXDynamicColor dynamicColor)
protected void drawFocus(UI ui, PGraphics pg)
UI2dComponentdrawFocus in class UI2dComponentui - UIpg - PGraphicspublic void onKeyPressed(KeyEvent keyEvent, char keyChar, int keyCode)
UIEventHandleronKeyPressed in class UIColorPickerkeyEvent - Key eventkeyChar - Key characterkeyCode - Key code valueprotected UIColorPicker.UIColorOverlay buildColorOverlay(UI ui)
buildColorOverlay in class UIColorPickerLX library by Mark C. Slee. © 2012-2020