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