public enum TextAlign extends Enum<TextAlign>
PropertyEditor
.Modifier and Type | Field and Description |
---|---|
static TextAlign |
CENTER
Deprecated.
Since Tobago 3.0.0 Please use
center |
static TextAlign |
JUSTIFY
Deprecated.
Since Tobago 3.0.0 Please use
justify |
static TextAlign |
LEFT
Deprecated.
Since Tobago 3.0.0 Please use
left |
static TextAlign |
RIGHT
Deprecated.
Since Tobago 3.0.0 Please use
right |
static String |
STRING_CENTER
Internal constant to use in annotations.
|
static String |
STRING_JUSTIFY
Internal constant to use in annotations.
|
static String |
STRING_LEFT
Internal constant to use in annotations.
|
static String |
STRING_RIGHT
Internal constant to use in annotations.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Deprecated.
Since Tobago 3.0.0 Please use
TextAlign:name |
static TextAlign |
parse(String string)
Deprecated.
Since Tobago 3.0.0 Please use
TextAlign:valueOf |
static TextAlign |
valueOf(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 String STRING_LEFT
left
public static final String STRING_RIGHT
right
public static final String STRING_CENTER
center
public static final String STRING_JUSTIFY
justify
public static TextAlign[] values()
for (TextAlign c : TextAlign.values()) System.out.println(c);
public static TextAlign 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 String getValue()
TextAlign:name
@Deprecated public static TextAlign parse(String string)
TextAlign:valueOf
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.