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