public enum HorizontalAlign extends Enum<HorizontalAlign>
Enum Constant and Description |
---|
center
center alignment.
|
horizontalDefault
default alignment - the real value will be decided by the layout process.
|
left
left alignment.
|
right
right alignment.
|
Modifier and Type | Method and Description |
---|---|
static HorizontalAlign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HorizontalAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HorizontalAlign horizontalDefault
public static final HorizontalAlign left
public static final HorizontalAlign center
public static final HorizontalAlign right
public static HorizontalAlign[] values()
for (HorizontalAlign c : HorizontalAlign.values()) System.out.println(c);
public static HorizontalAlign 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. All Rights Reserved.