public static enum SubstanceConstants.ScrollPaneButtonPolicyKind extends java.lang.Enum<SubstanceConstants.ScrollPaneButtonPolicyKind>
Enum Constant and Description |
---|
ADJACENT
The
adjacent button policy - both the decrease button
and the increase button are on the same side of the scroll bar
adjacent to each other (like on Mac). |
MULTIPLE
The
multiple button policy - there are two decrease
buttons on the opposite side of the scroll bar and the increase
button is adjacent to the second decrease button. |
MULTIPLE_BOTH
The
multiple both button policy - there are two pairs of
decrease-increase buttons on the opposite sides of the scroll bar. |
NONE
The
empty button policy - no buttons. |
OPPOSITE
The
opposite (default) button policy - the decrease
button is on one side of the scroll bar, and the increase button is
on the other side of the scroll bar. |
Modifier and Type | Method and Description |
---|---|
static SubstanceConstants.ScrollPaneButtonPolicyKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubstanceConstants.ScrollPaneButtonPolicyKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubstanceConstants.ScrollPaneButtonPolicyKind NONE
empty
button policy - no buttons.public static final SubstanceConstants.ScrollPaneButtonPolicyKind OPPOSITE
opposite
(default) button policy - the decrease
button is on one side of the scroll bar, and the increase button is
on the other side of the scroll bar.public static final SubstanceConstants.ScrollPaneButtonPolicyKind ADJACENT
adjacent
button policy - both the decrease button
and the increase button are on the same side of the scroll bar
adjacent to each other (like on Mac).public static final SubstanceConstants.ScrollPaneButtonPolicyKind MULTIPLE
public static final SubstanceConstants.ScrollPaneButtonPolicyKind MULTIPLE_BOTH
multiple both
button policy - there are two pairs of
decrease-increase buttons on the opposite sides of the scroll bar.
This extends the MULTIPLE
policy.public static SubstanceConstants.ScrollPaneButtonPolicyKind[] values()
for (SubstanceConstants.ScrollPaneButtonPolicyKind c : SubstanceConstants.ScrollPaneButtonPolicyKind.values()) System.out.println(c);
public static SubstanceConstants.ScrollPaneButtonPolicyKind 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