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