public enum ColorFormat extends java.lang.Enum<ColorFormat>
| Enum Constant and Description |
|---|
EXACT |
HEX
HEX is hexadecimal display in input field eg #112233 (#RRGGBB)
HEX3 is hexadecimal display using 3 characters only if possible (#RGB).
|
HEX3 |
HEXA |
HSL |
HSLA |
HSLAPERCENT |
HSLPERCENT |
NAME |
RGB |
RGBA |
RGBPERCENT |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static ColorFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorFormat HEX
public static final ColorFormat HEX3
public static final ColorFormat HEXA
public static final ColorFormat RGB
public static final ColorFormat RGBA
public static final ColorFormat RGBPERCENT
public static final ColorFormat HSL
public static final ColorFormat HSLA
public static final ColorFormat HSLPERCENT
public static final ColorFormat HSLAPERCENT
public static final ColorFormat NAME
public static final ColorFormat EXACT
public static ColorFormat[] values()
for (ColorFormat c : ColorFormat.values()) System.out.println(c);
public static ColorFormat 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 nullpublic java.lang.String getValue()
Copyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.