FormField
|
+--TextField
|
+--ColorChooserField
public class ColorChooserField
extends TextField
Fields inherited from FORMfields.fields.TextField | |
---|---|
maxLength, minLength, size |
Fields inherited from FORMfields.fields.FormField | |
---|---|
autoPropagate, data, disableEnterHandler, displayValuesOnNewLine, editable, enabled, endingString, enterTabHandler, enterTabs, error, extraHtml, fieldBelowLabel, formError, help, hidden, htmlify, id, isData, label, labelForId, multiValues, name, required, subFieldDisplayValueSeparator, subFieldSeparator, subFieldValueSeparator, subFields, subFieldsCannotBeEmpty, trimWhitespace, validators, value, valueIsHtml |
Constructor Summary | |
---|---|
ColorChooserField(string name, string label, int required) Creates a new ColorChooserField. |
|
__construct(string name, string label, int required) Creates a new ColorChooserField. |
Method Summary | |
---|---|
string | Returns JavaScript code to disable the input field portion of this field during run-time. |
string | Returns the HTML used to display the input portion of this field. |
Methods inherited from FORMfields.fields.TextField | |
---|---|
getEditableFieldTag, isValid |
public ColorChooserField(string name, string label, int required)
Creates a new ColorChooserField.
public string getDisableFieldJs()
Returns JavaScript code to disable the input field portion of this field during run-time.
public string getEditableFieldTag()
Returns the HTML used to display the input portion of this field.
ColorChooserField is a field for selecting a 24 bit web color from a popup palette. The color that is returned is a red, green, blue value in hexidecimal that starts with a '#'