public static enum SubstanceSlices.ButtonOrder extends java.lang.Enum<SubstanceSlices.ButtonOrder>
| Enum Constant | Description |
|---|---|
DEFAULT_AS_LEADING |
The default button will be placed closest to the leading edge of the button group
(leftmost under LTR and rightmost under RTL).
|
DEFAULT_AS_TRAILING |
The default button will be placed closest to the trailing edge of the button group
(rightmost under LTR and leftmost under RTL).
|
PLATFORM |
Platform-specific order.
|
SWING_DEFAULT |
The default button will be placed as it is under default Swing behavior.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract boolean |
isDefaultButtonLeading() |
|
static SubstanceSlices.ButtonOrder |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SubstanceSlices.ButtonOrder[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubstanceSlices.ButtonOrder PLATFORM
public static final SubstanceSlices.ButtonOrder DEFAULT_AS_LEADING
public static final SubstanceSlices.ButtonOrder DEFAULT_AS_TRAILING
public static final SubstanceSlices.ButtonOrder SWING_DEFAULT
public static SubstanceSlices.ButtonOrder[] values()
for (SubstanceSlices.ButtonOrder c : SubstanceSlices.ButtonOrder.values()) System.out.println(c);
public static SubstanceSlices.ButtonOrder 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 nullpublic abstract boolean isDefaultButtonLeading()