public static enum ColorFormatter.Format extends java.lang.Enum<ColorFormatter.Format>
Enum Constant and Description |
---|
CMYK_PERCENTAGE |
GRAY_PERCENTAGE |
HSB_PERCENTAGE |
RGB_HEX |
RGB_INTEGER |
RGB_INTEGER_SHORT |
RGB_PERCENTAGE |
Modifier and Type | Method and Description |
---|---|
static ColorFormatter.Format |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorFormatter.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorFormatter.Format RGB_HEX
public static final ColorFormatter.Format RGB_INTEGER_SHORT
public static final ColorFormatter.Format RGB_INTEGER
public static final ColorFormatter.Format RGB_PERCENTAGE
public static final ColorFormatter.Format HSB_PERCENTAGE
public static final ColorFormatter.Format GRAY_PERCENTAGE
public static final ColorFormatter.Format CMYK_PERCENTAGE
public static ColorFormatter.Format[] values()
for (ColorFormatter.Format c : ColorFormatter.Format.values()) System.out.println(c);
public static ColorFormatter.Format 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