public static enum ColorPicker.Mode extends Enum<ColorPicker.Mode>
Enum Constant and Description |
---|
Blue
Used to indicate when we're in "blue mode".
|
Brightness
Used to indicate when we're in "brightness mode".
|
Green
Used to indicate when we're in "green mode".
|
Hue
Used to indicate when we're in "hue mode".
|
Red
Used to indicate when we're in "red mode".
|
Saturation
Used to indicate when we're in "saturation mode".
|
Modifier and Type | Field and Description |
---|---|
boolean |
isHSB |
Modifier and Type | Method and Description |
---|---|
static ColorPicker.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorPicker.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorPicker.Mode Hue
public static final ColorPicker.Mode Saturation
public static final ColorPicker.Mode Brightness
public static final ColorPicker.Mode Red
public static final ColorPicker.Mode Green
public static final ColorPicker.Mode Blue
public static ColorPicker.Mode[] values()
for (ColorPicker.Mode c : ColorPicker.Mode.values()) System.out.println(c);
public static ColorPicker.Mode 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 nullCopyright © 2024 levigo holding gmbh. All rights reserved.