|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SubstanceConstants.ScrollPaneButtonPolicyKind>
org.jvnet.substance.api.SubstanceConstants.ScrollPaneButtonPolicyKind
public static enum SubstanceConstants.ScrollPaneButtonPolicyKind
Enumerates possible button policies for scroll panes.
SubstanceLookAndFeel.SCROLL_PANE_BUTTONS_POLICY
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
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. This combines the
OPPOSITE
and the ADJACENT
policies together.
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.
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |