public enum TextAlign extends java.lang.Enum<TextAlign>
Note: the enums are not capitalized, because of problems with PropertyEditor
.
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
CENTER |
Internal constant to use in annotations.
|
static java.lang.String |
JUSTIFY |
Internal constant to use in annotations.
|
static java.lang.String |
LEFT |
Internal constant to use in annotations.
|
static java.lang.String |
RIGHT |
Internal constant to use in annotations.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getValue() |
Deprecated.
Since Tobago 3.0.0 Please use
Enum.name |
static TextAlign |
parse(java.lang.String string) |
Deprecated.
Since Tobago 3.0.0 Please use
valueOf(java.lang.String) |
static TextAlign |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TextAlign[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAlign left
public static final TextAlign right
public static final TextAlign center
public static final TextAlign justify
public static final java.lang.String LEFT
left
public static final java.lang.String RIGHT
right
public static final java.lang.String CENTER
center
public static final java.lang.String JUSTIFY
justify
public static TextAlign[] values()
for (TextAlign c : TextAlign.values()) System.out.println(c);
public static TextAlign valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public java.lang.String getValue()
Enum.name
@Deprecated public static TextAlign parse(java.lang.String string)
valueOf(java.lang.String)
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.