public enum PKTextAlignment extends Enum<PKTextAlignment>
| Enum Constant and Description |
|---|
PKTextAlignmentCenter |
PKTextAlignmentLeft |
PKTextAlignmentNatural |
PKTextAlignmentRight |
| Modifier and Type | Method and Description |
|---|---|
static PKTextAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PKTextAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PKTextAlignment PKTextAlignmentLeft
public static final PKTextAlignment PKTextAlignmentCenter
public static final PKTextAlignment PKTextAlignmentRight
public static final PKTextAlignment PKTextAlignmentNatural
public static PKTextAlignment[] values()
for (PKTextAlignment c : PKTextAlignment.values()) System.out.println(c);
public static PKTextAlignment 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 © 2012–2015. All rights reserved.