public enum ColorPickerMode extends java.lang.Enum<ColorPickerMode> implements ValueEnum
| Enum Constant and Description | 
|---|
| COMPLEXIn addition to the 40 basic colors, the user can specify a color from anywhere in the spectrum, with an optional alpha
 component. | 
| SIMPLEDisplay a palette of 40 basic colors from which to pick. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getValue() | 
| static ColorPickerMode | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static ColorPickerMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ColorPickerMode SIMPLE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "simple".
public static final ColorPickerMode COMPLEX
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "complex".
public static ColorPickerMode[] values()
for (ColorPickerMode c : ColorPickerMode.values()) System.out.println(c);
public static ColorPickerMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null