com.arctorus.documents
Enum VerticalAlignmentType

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

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

Defines how an element aligned vertically.


Enum Constant Summary
BOTTOM
          Element is aligned to the bottom.
CENTER
          Element is centered vertically.
JUSTIFIED
          Element is justified to both top and bottom.
TOP
          Element is aligned to the top.
 
Method Summary
 java.lang.String toStringXlsxCells()
          For internal use.
static VerticalAlignmentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VerticalAlignmentType[] 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

TOP

public static final VerticalAlignmentType TOP
Element is aligned to the top.


CENTER

public static final VerticalAlignmentType CENTER
Element is centered vertically.


BOTTOM

public static final VerticalAlignmentType BOTTOM
Element is aligned to the bottom.


JUSTIFIED

public static final VerticalAlignmentType JUSTIFIED
Element is justified to both top and bottom.

Method Detail

values

public static final VerticalAlignmentType[] 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(VerticalAlignmentType c : VerticalAlignmentType.values())
        System.out.println(c);

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

valueOf

public static VerticalAlignmentType 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

toStringXlsxCells

public java.lang.String toStringXlsxCells()
For internal use. Get vertical alignment as string used inside xlsx file format.