org.apache.myfaces.tobago.layout
Enum TextAlign

java.lang.Object
  extended by java.lang.Enum<TextAlign>
      extended by org.apache.myfaces.tobago.layout.TextAlign
All Implemented Interfaces:
Serializable, Comparable<TextAlign>

public enum TextAlign
extends Enum<TextAlign>


Enum Constant Summary
CENTER
           
JUSTIFY
           
LEFT
           
RIGHT
           
 
Field Summary
static String STRING_CENTER
           
static String STRING_JUSTIFY
           
static String STRING_LEFT
           
static String STRING_RIGHT
           
 
Method Summary
 String getValue()
           
static TextAlign parse(String string)
           
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LEFT

public static final TextAlign LEFT

RIGHT

public static final TextAlign RIGHT

CENTER

public static final TextAlign CENTER

JUSTIFY

public static final TextAlign JUSTIFY
Field Detail

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
Method Detail

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-2013 The Apache Software Foundation. All Rights Reserved.