public static enum GradientPanel.Direction extends Enum<GradientPanel.Direction>
Enum Constant and Description |
---|
DIRECTION_DOWN |
DIRECTION_LEFT |
DIRECTION_UP |
Modifier and Type | Method and Description |
---|---|
static GradientPanel.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientPanel.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientPanel.Direction DIRECTION_UP
public static final GradientPanel.Direction DIRECTION_DOWN
public static final GradientPanel.Direction DIRECTION_LEFT
public static GradientPanel.Direction[] values()
for (GradientPanel.Direction c : GradientPanel.Direction.values()) System.out.println(c);
public static GradientPanel.Direction 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 nullCopyright © 2002–2017 Pentaho Corporation. All rights reserved.