org.apache.myfaces.tobago.layout
Enum TextAlign
java.lang.Object
java.lang.Enum<TextAlign>
org.apache.myfaces.tobago.layout.TextAlign
- All Implemented Interfaces:
- Serializable, Comparable<TextAlign>
public enum TextAlign
- extends Enum<TextAlign>
LEFT
public static final TextAlign LEFT
RIGHT
public static final TextAlign RIGHT
CENTER
public static final TextAlign CENTER
JUSTIFY
public static final TextAlign JUSTIFY
STRING_LEFT
public static final String STRING_LEFT
- See Also:
- Constant Field Values
STRING_RIGHT
public static final String STRING_RIGHT
- See Also:
- Constant Field Values
STRING_CENTER
public static final String STRING_CENTER
- See Also:
- Constant Field Values
STRING_JUSTIFY
public static final String STRING_JUSTIFY
- See Also:
- Constant Field Values
values
public static TextAlign[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TextAlign c : TextAlign.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TextAlign valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getValue
public String getValue()
parse
public static TextAlign parse(String string)
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.