Class ColorPickerField
Object
|
+--Field
|
+--ComponentField
|
+--ColorPickerField
- class
ColorPickerField
- extends ComponentField
Defined in form/colorpickerfield.js
|
Constructor Summary |
ColorPickerField
(<String> id, <Object> options)
The ColorPickerField component is a color selection tool based
on a color palette of 228 options.
|
|
Method Summary |
void
|
clear()
Clear the component's value
|
void
|
focus()
Request focus to the component
|
void
|
setDisabled(<Boolean> b)
Disables/enables the component
|
void
|
setup()
Performs initialization routines for this component
|
void
|
setValue(<String> color)
Defines a new value for the component
|
container
Object container
mode
String mode
picker
ColorPicker picker
Holds the instance of the ColorPicker widget
trigger
Object trigger
ColorPickerField
ColorPickerField(<String> id, <Object> options)
The ColorPickerField component is a color selection tool based
on a color palette of 228 options. The color picker widget includes
an area to display current selected color, a text input that allows
typing a new color (if it fits expected color format) and a display
area whose color represents the last hovered color
Parameters:
options - Component options
clear
void clear()
Clear the component's value
focus
void focus()
Request focus to the component
setDisabled
void setDisabled(<Boolean> b)
Disables/enables the component
setup
void setup()
Performs initialization routines for this component
setValue
void setValue(<String> color)
Defines a new value for the component
Copyright © 2002-2006 by Marcos Pont
Documentation generated by
JSDoc on Sun Oct 7 19:52:10 2007