SourceForge.net Logo
aXSL API 0.2

org.axsl.common.value
Enum TextAlignLast

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

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

Enumeration of the possible text-align-last values.


Enum Constant Summary
CENTER
          The content is to be centered in the IP direction.
END
          The content is to be aligned on the end-edge in the IP direction.
INSIDE
          If the page-binding edge is on the start-edge, the alignment is "start".
JUSTIFY
          The content is to be expanded to fill the available width in the IP direction.
OUTSIDE
          If the page-binding edge is on the start-edge, the alignment is "end".
RELATIVE
          If text-align is "justify", then the alignment of the last line, and of any line ending in U+000A, will be "start".
START
          The content is to be aligned on the start-edge in the IP direction.
 
Method Summary
 TextAlign getRelatedTextAlign()
          Returns the related TextAlign instance.
static TextAlignLast valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TextAlignLast[] 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

RELATIVE

public static final TextAlignLast RELATIVE
If text-align is "justify", then the alignment of the last line, and of any line ending in U+000A, will be "start". If text-align is not "justify", text-align-last will use the value of text-align.


START

public static final TextAlignLast START
The content is to be aligned on the start-edge in the IP direction.


CENTER

public static final TextAlignLast CENTER
The content is to be centered in the IP direction.


END

public static final TextAlignLast END
The content is to be aligned on the end-edge in the IP direction.


JUSTIFY

public static final TextAlignLast JUSTIFY
The content is to be expanded to fill the available width in the IP direction.


INSIDE

public static final TextAlignLast INSIDE
If the page-binding edge is on the start-edge, the alignment is "start". If the binding is the end-edge, the alignment will be "end". If neither, use "start".


OUTSIDE

public static final TextAlignLast OUTSIDE
If the page-binding edge is on the start-edge, the alignment is "end". If the binding is the end-edge, the alignment will be "start". If neither, use "end".

Method Detail

values

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

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

valueOf

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

getRelatedTextAlign

public TextAlign getRelatedTextAlign()
Returns the related TextAlign instance.

Returns:
the related TextAlign instance.

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.