public enum ScrollType extends java.lang.Enum<ScrollType>
| Enum Constant and Description |
|---|
CENTER |
CENTER_DOWN |
CENTER_UP |
MAKE_VISIBLE |
RELATIVE |
| Modifier and Type | Method and Description |
|---|---|
static ScrollType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScrollType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrollType RELATIVE
public static final ScrollType CENTER
public static final ScrollType MAKE_VISIBLE
public static final ScrollType CENTER_UP
public static final ScrollType CENTER_DOWN
public static ScrollType[] values()
for (ScrollType c : ScrollType.values()) System.out.println(c);
public static ScrollType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null