protected static enum AbstractScrollBar.Part extends java.lang.Enum<AbstractScrollBar.Part>
Enum Constant and Description |
---|
LEFT_AREA
The area between the left (upper) button and the thumb
|
LEFT_BUTTON
The left (upper) button
|
NONE
None of the above
|
RIGHT_AREA
The area between the right (lower) button and the thumb
|
RIGHT_BUTTON
The right (lower) button
|
THUMB
The thumb
|
Modifier and Type | Method and Description |
---|---|
static AbstractScrollBar.Part |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractScrollBar.Part[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractScrollBar.Part LEFT_AREA
public static final AbstractScrollBar.Part LEFT_BUTTON
public static final AbstractScrollBar.Part NONE
public static final AbstractScrollBar.Part RIGHT_AREA
public static final AbstractScrollBar.Part RIGHT_BUTTON
public static final AbstractScrollBar.Part THUMB
public static AbstractScrollBar.Part[] values()
for (AbstractScrollBar.Part c : AbstractScrollBar.Part.values()) System.out.println(c);
public static AbstractScrollBar.Part 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