public enum ScrollAmount extends Enum<ScrollAmount>
Enum Constant and Description |
---|
LARGE_DECREMENT
Specifies that scrolling is done in large decrements, equivalent to PageUp or clicking on a blank part of a
scrollbar.
|
LARGE_INCREMENT
Specifies that scrolling is done in large increments, equivalent to a PageDown or clicking on the track of a
scrollbar component.
|
NO_AMOUNT
Specifies that scrolling should not be performed.
|
SMALL_DECREMENT
Specifies that scrolling is done in small decrements, equivalent to pressing an arrow key or clicking the arrow
button on a scrollbar.
|
SMALL_INCREMENT
Specifies that scrolling is done in small increments, equivalent to pressing an arrow key or clicking the arrow
button on a scrollbar.
|
Modifier and Type | Method and Description |
---|---|
static ScrollAmount |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScrollAmount[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrollAmount LARGE_DECREMENT
public static final ScrollAmount LARGE_INCREMENT
public static final ScrollAmount NO_AMOUNT
public static final ScrollAmount SMALL_DECREMENT
public static final ScrollAmount SMALL_INCREMENT
public static ScrollAmount[] values()
for (ScrollAmount c : ScrollAmount.values()) System.out.println(c);
public static ScrollAmount 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.