public static enum JBGradientPaint.GradientDirection extends java.lang.Enum<JBGradientPaint.GradientDirection>
| Enum Constant and Description |
|---|
BOTTOM_LEFT_TOP_RIGHT |
LEFT_RIGHT |
TOP_BOTTOM |
TOP_LEFT_BOTTOM_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
static JBGradientPaint.GradientDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JBGradientPaint.GradientDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JBGradientPaint.GradientDirection TOP_BOTTOM
public static final JBGradientPaint.GradientDirection LEFT_RIGHT
public static final JBGradientPaint.GradientDirection TOP_LEFT_BOTTOM_RIGHT
public static final JBGradientPaint.GradientDirection BOTTOM_LEFT_TOP_RIGHT
public static JBGradientPaint.GradientDirection[] values()
for (JBGradientPaint.GradientDirection c : JBGradientPaint.GradientDirection.values()) System.out.println(c);
public static JBGradientPaint.GradientDirection 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 null