org.odftoolkit.odfdom.dom.type.chart
Enum OdfSymbolNameType

java.lang.Object
  extended by java.lang.Enum<OdfSymbolNameType>
      extended by org.odftoolkit.odfdom.dom.type.chart.OdfSymbolNameType
All Implemented Interfaces:
Serializable, Comparable<OdfSymbolNameType>

public enum OdfSymbolNameType
extends Enum<OdfSymbolNameType>

DOM implementation of OpenDocument attribute chart:symbol-name.


Enum Constant Summary
ARROW_DOWN
           
ARROW_LEFT
           
ARROW_RIGHT
           
ARROW_UP
           
ASTERISK
           
BOW_TIE
           
CIRCLE
           
DIAMOND
           
HORIZONTAL_BAR
           
HOURGLASS
           
PLUS
           
SQUARE
           
STAR
           
VERTICAL_BAR
           
X
           
 
Method Summary
static OdfSymbolNameType enumValueOf(String stringValue)
          String to enum, turns a String into its corresponding enum constant
 String toString()
          gets the name of this enum.
static String toString(OdfSymbolNameType enumeration)
          enum to String, gets the name of this enum constant as a string.
static OdfSymbolNameType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OdfSymbolNameType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

X

public static final OdfSymbolNameType X

HOURGLASS

public static final OdfSymbolNameType HOURGLASS

SQUARE

public static final OdfSymbolNameType SQUARE

HORIZONTAL_BAR

public static final OdfSymbolNameType HORIZONTAL_BAR

DIAMOND

public static final OdfSymbolNameType DIAMOND

ARROW_RIGHT

public static final OdfSymbolNameType ARROW_RIGHT

VERTICAL_BAR

public static final OdfSymbolNameType VERTICAL_BAR

ARROW_DOWN

public static final OdfSymbolNameType ARROW_DOWN

CIRCLE

public static final OdfSymbolNameType CIRCLE

ARROW_LEFT

public static final OdfSymbolNameType ARROW_LEFT

STAR

public static final OdfSymbolNameType STAR

BOW_TIE

public static final OdfSymbolNameType BOW_TIE

ASTERISK

public static final OdfSymbolNameType ASTERISK

ARROW_UP

public static final OdfSymbolNameType ARROW_UP

PLUS

public static final OdfSymbolNameType PLUS
Method Detail

values

public static OdfSymbolNameType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OdfSymbolNameType c : OdfSymbolNameType.values())
    System.out.println(c);

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

valueOf

public static OdfSymbolNameType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
gets the name of this enum.

Overrides:
toString in class Enum<OdfSymbolNameType>
Returns:
return the name of OdfSymbolNameType

toString

public static String toString(OdfSymbolNameType enumeration)
enum to String, gets the name of this enum constant as a string.

Parameters:
enumeration - the constant of OdfSymbolNameType, see chart:symbol-name
Returns:
return the name of OdfSymbolNameType

enumValueOf

public static OdfSymbolNameType enumValueOf(String stringValue)
String to enum, turns a String into its corresponding enum constant

Parameters:
stringValue - the name of OdfSymbolNameType
Returns:
return the constant of OdfSymbolNameType, see chart:symbol-name


Copyright © 2009. All Rights Reserved.