SourceForge.net Logo
aXSL API 0.2

org.axsl.common.value
Enum DisplayAlign

java.lang.Object
  extended by java.lang.Enum<DisplayAlign>
      extended by org.axsl.common.value.DisplayAlign
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DisplayAlign>

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

Enumeration of the "display-align" options. Note that XSL-FO specifies an additional "AUTO" value, which should be converted to one of the values enumerated here.


Enum Constant Summary
AFTER
          The after edge of the area corresponds to the after edge of the parent area.
BASELINE
          The area content is aligned on the dominant baseline for the row or list item.
BEFORE
          The before-edge of the area corresponds to the before edge of the parent area.
CENTER
          The child areas are vertically centered.
 
Method Summary
static DisplayAlign valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DisplayAlign[] 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

BEFORE

public static final DisplayAlign BEFORE
The before-edge of the area corresponds to the before edge of the parent area.


CENTER

public static final DisplayAlign CENTER
The child areas are vertically centered.


AFTER

public static final DisplayAlign AFTER
The after edge of the area corresponds to the after edge of the parent area.


BASELINE

public static final DisplayAlign BASELINE
The area content is aligned on the dominant baseline for the row or list item. Note that this value is not directly specified as a value for this enumeration by the XSL-FO standard, but is indirectly specified by reference to the "relative-align" property.

Method Detail

values

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

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

valueOf

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

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.