com.arctorus.documents
Enum HorizontalAlignmentType

java.lang.Object
  extended by java.lang.Enum<HorizontalAlignmentType>
      extended by com.arctorus.documents.HorizontalAlignmentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HorizontalAlignmentType>

public enum HorizontalAlignmentType
extends java.lang.Enum<HorizontalAlignmentType>

Defines how an element aligned horizontally.


Enum Constant Summary
CENTER
          Element centered horizontally.
JUSTIFIED
          Element justified to both left and right.
LEFT
          Element aligned to the left.
RIGHT
          Element aligned to the right.
 
Method Summary
static HorizontalAlignmentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HorizontalAlignmentType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, 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 HorizontalAlignmentType LEFT
Element aligned to the left.


CENTER

public static final HorizontalAlignmentType CENTER
Element centered horizontally.


RIGHT

public static final HorizontalAlignmentType RIGHT
Element aligned to the right.


JUSTIFIED

public static final HorizontalAlignmentType JUSTIFIED
Element justified to both left and right.

Method Detail

values

public static final HorizontalAlignmentType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(HorizontalAlignmentType c : HorizontalAlignmentType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static HorizontalAlignmentType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name