public enum ScrollBarVisibility extends Enum<ScrollBarVisibility>
Enum Constant and Description |
---|
AUTO
A ScrollBar appears and the dimension of the ScrollViewer is applied to the content when the viewport cannot display .
|
DISABLED
A ScrollBar does not appear even when the viewport cannot display all of the content.
|
HIDDEN
A ScrollBar does not appear even when the viewport cannot display all of the content.
|
VISIBLE
A ScrollBar always appears.
|
Modifier and Type | Method and Description |
---|---|
static ScrollBarVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScrollBarVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrollBarVisibility DISABLED
public static final ScrollBarVisibility AUTO
public static final ScrollBarVisibility HIDDEN
public static final ScrollBarVisibility VISIBLE
public static ScrollBarVisibility[] values()
for (ScrollBarVisibility c : ScrollBarVisibility.values()) System.out.println(c);
public static 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 2009-2012 Micro Focus. All Rights Reserved.