jsx3.gui.ColorPickerAPI


Object
Object TypeThe JSX foundation class that this object is an instance of.
IDThe unique, system-assigned ID for this object.
NameSets the name assigned by the developer to identify this object.
Positioning
Relative XYSets whether to place this object relatively or absolutely with respect to its container.
LeftSets the position of this object from left edge of container.
TopSets the position of this object from top edge of container.
WidthSets the width of the control as implied pixels or a percentage.
HeightSets the height of the control in pixels or percentage.
Z-IndexIf this object is absolutely positioned, sets the CSS z-index.
Slider
ColorSets the RGB of the selected color.
AxisSets the color axis displayed on the right side of the color picker.
Box
BorderSets the valid CSS border definition.
CSS
DisplaySets the CSS display property.
VisibilitySets the CSS visibility property.
Metadata
Load TypeSets the load type of this DOM branch.
AnnotationThe annotation comment visible in the Component Hierarchy palette.
Help IDA unique ID for use with context-sensitive help.

Object Type

Read-Only. The JSX foundation class that this object is an instance of.

ID

Read-Only. The unique, system-assigned ID for this object.
Getter: getId()

Name

Sets the name assigned by the developer to identify this object.
Getter: getName()
Setter: setName()
Property: jsxname

Relative XY

Sets whether to place this object relatively or absolutely with respect to its container.
Default Value: Relative (jsx3.gui.Block.RELATIVE)
Getter: getRelativePosition()
Setter: setRelativePosition()
Property: jsxrelativeposition
Allowed Values:

Left

Sets the position of this object from left edge of container. If this object is absolutely positioned, this value is applied as an implied pixel or a percentage. For example, 10 or 15%.
Default Value: If absolutely positioned, the default is 0. If relatively positioned, the default is empty.
Getter: getLeft()
Setter: setLeft()
Property: jsxleft

Top

Sets the position of this object from top edge of container. If this object is absolutely positioned, this value is applied as an implied pixel or a percentage. For example, 10 or 15%.
Default Value: If absolutely positioned, the default is 0. If relatively positioned, the default is empty.
Getter: getTop()
Setter: setTop()
Property: jsxtop

Width

Sets the width of the control as implied pixels or a percentage. For example, 100 or 25%.
Default Value: Empty
Getter: getWidth()
Setter: setWidth()
Property: jsxwidth

Height

Sets the height of the control in pixels or percentage. For example, 100 or 25%.
Default Value: Empty
Getter: getHeight()
Setter: setHeight()
Property: jsxheight

Z-Index

If this object is absolutely positioned, sets the CSS z-index. The z-index sets the stack order of an element.
Default Value: 1
Getter: getZIndex()
Setter: setZIndex()
Property: jsxzindex

Color

Sets the RGB of the selected color.
Getter: getRGB()
Setter: setRGB()
Property: jsxrgb

Axis

Sets the color axis displayed on the right side of the color picker.
Getter: getAxis()
Setter: setAxis()
Property: jsxaxis
Allowed Values:

Border

Sets the valid CSS border definition. Specified as one or four value sets (north, east, south, west): width [color] [style] [width2 [color2] [style2]...width4 [color4] [style4]]. For example, 1px red solid, 2px red dashed, 3px black double, 1px red solid;
Default Value: Empty
Getter: getBorder()
Setter: setBorder()
Property: jsxborder

Display

Sets the CSS display property. When set to None, content is hidden AND the container collapses.
Default Value: Block (jsx3.gui.Block.DISPLAYBLOCK)
Getter: getDisplay()
Setter: setDisplay()
Property: jsxdisplay
Allowed Values:

Visibility

Sets the CSS visibility property. When set to Hidden, content is hidden.
Default Value: Visible (jsx3.gui.Block.VISIBILITYVISIBLE)
Getter: getVisibility()
Setter: setVisibility()
Property: jsxvisibility
Allowed Values:

Load Type

Sets the load type of this DOM branch.
Default Value: Normal (jsx3.app.Model.LT_NORMAL)
Getter: getLoadType()
Setter: setLoadType()
Property: jsxloadtype
Allowed Values:

Annotation

The annotation comment visible in the Component Hierarchy palette.
Property: jsxannotation

Help ID

A unique ID for use with context-sensitive help.
Getter: getHelpId()
Setter: setHelpId()
Property: jsxhelpid