SourceForge.net Logo
aXSL API 0.2

org.axsl.common.value
Enum AlignmentBaseline

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

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

Enumeration of possible values for alignment-baseline.


Enum Constant Summary
AFTER_EDGE
          The alignment-point of the object being aligned is aligned with the after-edge baseline of the parent area.
ALPHABETIC
          The alignment-point of the object being aligned is aligned with the alphabetic baseline of the parent area.
AUTO
          For character objects, the script is used to determine the basline.
BASELINE
          The alignment-point of the object being aligned is aligned with the dominant-baseline of the parent area.
BEFORE_EDGE
          The alignment-point of the object being aligned is aligned with the before-edge baseline of the parent area.
CENTRAL
          The alignment-point of the object being aligned is aligned with the central baseline of the parent area.
HANGING
          The alignment-point of the object being aligned is aligned with the hanging baseline of the parent area.
IDEOGRAPHIC
          The alignment-point of the object being aligned is aligned with the ideographic baseline of the parent area.
MATHEMATICAL
          The alignment-point of the object being aligned is aligned with the mathematical baseline of the parent area.
MIDDLE
          The alignment-point of the object being aligned is aligned with the middle baseline of the parent area.
TEXT_AFTER_EDGE
          The alignment-point of the object being aligned is aligned with the text-after-edge baseline of the parent area.
TEXT_BEFORE_EDGE
          The alignment-point of the object being aligned is aligned with the text-before-edge baseline of the parent area.
 
Method Summary
static AlignmentBaseline valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AlignmentBaseline[] 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

AUTO

public static final AlignmentBaseline AUTO
For character objects, the script is used to determine the basline. For other objects, the value is the same as for "baseline".


BASELINE

public static final AlignmentBaseline BASELINE
The alignment-point of the object being aligned is aligned with the dominant-baseline of the parent area.


BEFORE_EDGE

public static final AlignmentBaseline BEFORE_EDGE
The alignment-point of the object being aligned is aligned with the before-edge baseline of the parent area.


TEXT_BEFORE_EDGE

public static final AlignmentBaseline TEXT_BEFORE_EDGE
The alignment-point of the object being aligned is aligned with the text-before-edge baseline of the parent area.


MIDDLE

public static final AlignmentBaseline MIDDLE
The alignment-point of the object being aligned is aligned with the middle baseline of the parent area.


CENTRAL

public static final AlignmentBaseline CENTRAL
The alignment-point of the object being aligned is aligned with the central baseline of the parent area.


AFTER_EDGE

public static final AlignmentBaseline AFTER_EDGE
The alignment-point of the object being aligned is aligned with the after-edge baseline of the parent area.


TEXT_AFTER_EDGE

public static final AlignmentBaseline TEXT_AFTER_EDGE
The alignment-point of the object being aligned is aligned with the text-after-edge baseline of the parent area.


IDEOGRAPHIC

public static final AlignmentBaseline IDEOGRAPHIC
The alignment-point of the object being aligned is aligned with the ideographic baseline of the parent area.


ALPHABETIC

public static final AlignmentBaseline ALPHABETIC
The alignment-point of the object being aligned is aligned with the alphabetic baseline of the parent area.


HANGING

public static final AlignmentBaseline HANGING
The alignment-point of the object being aligned is aligned with the hanging baseline of the parent area.


MATHEMATICAL

public static final AlignmentBaseline MATHEMATICAL
The alignment-point of the object being aligned is aligned with the mathematical baseline of the parent area.

Method Detail

values

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

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

valueOf

public static AlignmentBaseline 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.