public static enum GPanel.ScrollBarVisibility extends Enum<GPanel.ScrollBarVisibility>
Enum Constant and Description |
---|
ALLWAYS
The scroll bar and the panel border are always shown.
|
AS_NEEDED
The scroll bar is shown whenever it is needed.
|
NEVER
The scroll bar and the panel border are never shown.
|
Modifier and Type | Method and Description |
---|---|
static GPanel.ScrollBarVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GPanel.ScrollBarVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GPanel.ScrollBarVisibility NEVER
public static final GPanel.ScrollBarVisibility ALLWAYS
public static final GPanel.ScrollBarVisibility AS_NEEDED
public static GPanel.ScrollBarVisibility[] values()
for (GPanel.ScrollBarVisibility c : GPanel.ScrollBarVisibility.values()) System.out.println(c);
public static GPanel.ScrollBarVisibility 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 © 2024. All rights reserved.