public enum PaletteSort extends java.lang.Enum<PaletteSort>
Modifier and Type | Method and Description |
---|---|
int |
getNum() |
static PaletteSort |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaletteSort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaletteSort FACTORY
public static final PaletteSort HISTORY
public static final PaletteSort RELATIVES
public static PaletteSort[] values()
for (PaletteSort c : PaletteSort.values()) System.out.println(c);
public static PaletteSort 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 int getNum()