Serializable, Comparable<LabelWidget.Alignment>public static enum LabelWidget.Alignment extends Enum<LabelWidget.Alignment>
| Modifier and Type | Method | Description |
|---|---|---|
static LabelWidget.Alignment |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static LabelWidget.Alignment[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelWidget.Alignment LEFT
public static final LabelWidget.Alignment RIGHT
public static final LabelWidget.Alignment CENTER
public static final LabelWidget.Alignment BASELINE
public static LabelWidget.Alignment[] values()
for (LabelWidget.Alignment c : LabelWidget.Alignment.values()) System.out.println(c);
public static LabelWidget.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 nullBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.