public enum GradientType extends Enum<GradientType>
Modifier and Type | Class and Description |
---|---|
static class |
GradientType.BiColor |
Modifier and Type | Method and Description |
---|---|
static GradientType |
getByParameter(String string) |
abstract GradientType.BiColor |
getFirstLayerColors(GradientType.BiColor biColor) |
abstract GradientType.BiColor |
getSecondLayerColors(GradientType.BiColor biColor) |
static GradientType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientType glass
public static final GradientType plastic
public static final GradientType plain
public static GradientType[] values()
for (GradientType c : GradientType.values()) System.out.println(c);
public static GradientType 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 static final GradientType getByParameter(String string)
public abstract GradientType.BiColor getFirstLayerColors(GradientType.BiColor biColor)
public abstract GradientType.BiColor getSecondLayerColors(GradientType.BiColor biColor)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.