public static enum Panel.Orientation extends Enum<Panel.Orientation>
Enum Constant and Description |
---|
HORISONTAL |
VERTICAL |
Modifier and Type | Method and Description |
---|---|
static Panel.Orientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Panel.Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Panel.Orientation HORISONTAL
public static final Panel.Orientation VERTICAL
public static Panel.Orientation[] values()
for (Panel.Orientation c : Panel.Orientation.values()) System.out.println(c);
public static Panel.Orientation 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 © 2015. All Rights Reserved.