| Field Summary | |
|---|---|
| static int | Value for the axis property indicating a brightness axis. |
| static int | The default rendered height of this control if no height is specified. |
| static int | The default rendered width of this control if no width is specified. |
| static int | Value for the axis property indicating a hue axis. |
| static int | Value for the axis property indicating a saturation axis. |
| Constructor Summary | |
|---|---|
| void | init(strName : String, vntLeft : int | String, vntTop : int | String, vntWidth : int, vntHeight : int) The instance initializer. |
| Method Summary | |
|---|---|
| static Array<int> | Converts HSB color components to RGB components. |
| static Array<int> | Converts RGB color components to HSB components. |
| int | |
| int | getAxis() |
| int | getRGB() Returns the RGB value of the currently selected color as an integer. |
| int | getValue() Returns the RGB value of the currently selected color as an integer. |
| String | paint() Returns the HTML to render this control. |
| jsx3.gui.ColorPicker | Sets the color axis shown on the right side of the control. |
| void | Sets the currently selected color by HSB components. |
| void | Sets the currently selected color by RGB. |
| void | Sets the RGB value of this color picker. |
| Methods Inherited From jsx3.gui.Form |
|---|
| doKeyBinding, doReset, getDisabledBackgroundColor, getDisabledColor, getEnabled, getKeyBinding, getRequired, getValidationState, setDisabledBackgroundColor, setDisabledColor, setEnabled, setKeyBinding, setRequired, setValidationState |
| Methods Inherited From jsx3.gui.Block |
|---|
| getBackground, getBackgroundColor, getBorder, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, setBackground, setBackgroundColor, setBorder, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setText, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask |
| Methods Inherited From jsx3.gui.Interactive |
|---|
| doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy |
| Methods Inherited From jsx3.gui.Painted |
|---|
| focus, getAbsolutePosition, getAttribute, getAttributes, getDynamicProperty, getRendered, insertHTML, onAfterPaint, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, setAttribute, setDynamicProperty |
| Methods Inherited From jsx3.util.EventDispatcher |
|---|
| publish, subscribe, unsubscribe, unsubscribeAll |
| Methods Inherited From jsx3.lang.Object |
|---|
| clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf |
| Field Detail |
|---|
| Constructor Detail |
|---|
| Method Detail |
|---|
[r, g, b]. Each component is an integer [0, 255].
[0, 255]. If only one parameter is passed, this parameter
may be a 24-bit integer of the form 0xRRGGBB.[0, 255].[0, 255].[h, s, b]. Each component is a float [0.0, 1.0].
HUE, SATURATION, or BRIGHTNESS.
0xRRGGBB.0xRRGGBB.HUE, SATURATION, or BRIGHTNESS.[0.0, 1.0].[0.0, 1.0].[0.0, 1.0].
0xRRGGBB.
"#000000".