public static enum ButtonLayout.Alignment extends Enum<ButtonLayout.Alignment>
ButtonLayout
. The
alignment defines the horizontal orientation of the buttons in the
layout.Enum Constant and Description |
---|
CENTER
The alignment center.
|
LEFT
The alignment left.
|
RIGHT
The alignment right.
|
Modifier and Type | Method and Description |
---|---|
static ButtonLayout.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ButtonLayout.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButtonLayout.Alignment LEFT
public static final ButtonLayout.Alignment RIGHT
public static final ButtonLayout.Alignment CENTER
public static ButtonLayout.Alignment[] values()
for (ButtonLayout.Alignment c : ButtonLayout.Alignment.values()) System.out.println(c);
public static ButtonLayout.Alignment valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 The JGUIraffe Team. All rights reserved.