public static enum GUI.ScrollPolicy extends Enum<GUI.ScrollPolicy>
| Enum Constant and Description |
|---|
HORIZONTAL_AS_NEEDED |
HORIZONTAL_NEVER |
VERTICAL_AS_NEEDED |
VERTICAL_NEVER |
| Modifier and Type | Method and Description |
|---|---|
static GUI.ScrollPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GUI.ScrollPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GUI.ScrollPolicy VERTICAL_AS_NEEDED
public static final GUI.ScrollPolicy HORIZONTAL_AS_NEEDED
public static final GUI.ScrollPolicy VERTICAL_NEVER
public static final GUI.ScrollPolicy HORIZONTAL_NEVER
public static GUI.ScrollPolicy[] values()
for (GUI.ScrollPolicy c : GUI.ScrollPolicy.values()) System.out.println(c);
public static GUI.ScrollPolicy 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 © 2017. All rights reserved.