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