org.openfaces.component.chart
Enum TextAnchor

java.lang.Object
  extended by java.lang.Enum<TextAnchor>
      extended by org.openfaces.component.chart.TextAnchor
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TextAnchor>

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


Enum Constant Summary
BASELINE_CENTER
           
BASELINE_LEFT
           
BASELINE_RIGHT
           
BOTTOM_CENTER
           
BOTTOM_LEFT
           
BOTTOM_RIGHT
           
CENTER
           
CENTER_LEFT
           
CENTER_RIGHT
           
HALF_ASCENT_CENTER
           
HALF_ASCENT_LEFT
           
HALF_ASCENT_RIGHT
           
TOP_CENTER
           
TOP_LEFT
           
TOP_RIGHT
           
 
Method Summary
static TextAnchor valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TextAnchor[] 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_LEFT

public static final TextAnchor TOP_LEFT

TOP_CENTER

public static final TextAnchor TOP_CENTER

TOP_RIGHT

public static final TextAnchor TOP_RIGHT

HALF_ASCENT_LEFT

public static final TextAnchor HALF_ASCENT_LEFT

HALF_ASCENT_CENTER

public static final TextAnchor HALF_ASCENT_CENTER

HALF_ASCENT_RIGHT

public static final TextAnchor HALF_ASCENT_RIGHT

CENTER_LEFT

public static final TextAnchor CENTER_LEFT

CENTER

public static final TextAnchor CENTER

CENTER_RIGHT

public static final TextAnchor CENTER_RIGHT

BASELINE_LEFT

public static final TextAnchor BASELINE_LEFT

BASELINE_CENTER

public static final TextAnchor BASELINE_CENTER

BASELINE_RIGHT

public static final TextAnchor BASELINE_RIGHT

BOTTOM_LEFT

public static final TextAnchor BOTTOM_LEFT

BOTTOM_CENTER

public static final TextAnchor BOTTOM_CENTER

BOTTOM_RIGHT

public static final TextAnchor BOTTOM_RIGHT
Method Detail

values

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

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

valueOf

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


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.