public enum ScrollbarPolicy extends Enum<ScrollbarPolicy>
ScrollPaneConstants
Enum Constant and Description |
---|
ALWAYS
The scrollbar will always be visible - even if there is enough space and nothing to scroll.
|
DYNAMIC
The scrollbar will appear as needed.
|
NEVER
Scrollbar and scrolling is disabled.
|
Modifier and Type | Method and Description |
---|---|
static ScrollbarPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScrollbarPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrollbarPolicy NEVER
public static final ScrollbarPolicy ALWAYS
public static final ScrollbarPolicy DYNAMIC
public static ScrollbarPolicy[] values()
for (ScrollbarPolicy c : ScrollbarPolicy.values()) System.out.println(c);
public static ScrollbarPolicy 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 © 2001–2016 mmm-Team. All rights reserved.