public enum BoxOrientation extends java.lang.Enum<BoxOrientation> implements javax.swing.SwingConstants
| Modifier and Type | Method and Description |
|---|---|
static BoxOrientation |
get(int value)
Returns enumeration literal referencing constant value.
|
int |
getValue()
Returns constant value.
|
static BoxOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BoxOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxOrientation center
public static final BoxOrientation top
public static final BoxOrientation left
public static final BoxOrientation bottom
public static final BoxOrientation right
public static BoxOrientation[] values()
for (BoxOrientation c : BoxOrientation.values()) System.out.println(c);
public static BoxOrientation 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 getValue()
public static BoxOrientation get(int value)
value - constant value