public static enum GradientPattern.ColorMode extends Enum<GradientPattern.ColorMode>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static GradientPattern.ColorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientPattern.ColorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientPattern.ColorMode FIXED
public static final GradientPattern.ColorMode PRIMARY
public static final GradientPattern.ColorMode PALETTE
public final String label
public static GradientPattern.ColorMode[] values()
for (GradientPattern.ColorMode c : GradientPattern.ColorMode.values()) System.out.println(c);
public static GradientPattern.ColorMode 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 nullpublic String toString()
toString
in class Enum<GradientPattern.ColorMode>
LX library by Mark C. Slee. © 2012-2020