public static enum Button.Align extends Enum<Button.Align>
Credits.setAlign(Credits.Align) method.| Enum Constant and Description |
|---|
CENTER
Center the credits
|
LEFT
Left align the credits
|
RIGHT
Right align the credits
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Button.Align |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Button.Align[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Button.Align LEFT
public static final Button.Align CENTER
public static final Button.Align RIGHT
public static Button.Align[] values()
for (Button.Align c : Button.Align.values()) System.out.println(c);
public static Button.Align 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 nullpublic String toString()
toString in class Enum<Button.Align>Copyright © 2015. All Rights Reserved.