public static enum Command.JUSTIFICATION extends Enum<Command.JUSTIFICATION>
Enum Constant and Description |
---|
CENTER
Centered
|
LEFT
Left alignment
|
RIGHT
Right alignment
|
Modifier and Type | Method and Description |
---|---|
byte |
getValue() |
static Command.JUSTIFICATION |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.JUSTIFICATION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.JUSTIFICATION LEFT
public static final Command.JUSTIFICATION CENTER
public static final Command.JUSTIFICATION RIGHT
public static Command.JUSTIFICATION[] values()
for (Command.JUSTIFICATION c : Command.JUSTIFICATION.values()) System.out.println(c);
public static Command.JUSTIFICATION 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 byte getValue()