public static enum PbText.Alignment extends Enum<PbText.Alignment>
| Modifier and Type | Method and Description |
|---|---|
static PbText.Alignment |
fromValue(String value) |
String |
toString() |
String |
value() |
static PbText.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PbText.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PbText.Alignment LEFT
public static final PbText.Alignment CENTER
public static final PbText.Alignment RIGHT
public static PbText.Alignment[] values()
for (PbText.Alignment c : PbText.Alignment.values()) System.out.println(c);
public static PbText.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 nullpublic String toString()
toString in class Enum<PbText.Alignment>public String value()
public static PbText.Alignment fromValue(String value)
Copyright © 2020. All rights reserved.