public static enum RGBColorSelectorPanel.ColorComponents extends Enum<RGBColorSelectorPanel.ColorComponents>
Modifier and Type | Method and Description |
---|---|
static RGBColorSelectorPanel.ColorComponents |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RGBColorSelectorPanel.ColorComponents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RGBColorSelectorPanel.ColorComponents RED
public static final RGBColorSelectorPanel.ColorComponents GREEN
public static final RGBColorSelectorPanel.ColorComponents BLUE
public static RGBColorSelectorPanel.ColorComponents[] values()
for (RGBColorSelectorPanel.ColorComponents c : RGBColorSelectorPanel.ColorComponents.values()) System.out.println(c);
public static RGBColorSelectorPanel.ColorComponents valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null