Holger's
Java API

com.antelmann.ooffice
Enum TextFrame.AnchorType

java.lang.Object
  extended by java.lang.Enum<TextFrame.AnchorType>
      extended by com.antelmann.ooffice.TextFrame.AnchorType
All Implemented Interfaces:
Serializable, Comparable<TextFrame.AnchorType>
Enclosing class:
TextFrame

public static enum TextFrame.AnchorType
extends Enum<TextFrame.AnchorType>


Enum Constant Summary
AS_CHARACTER
           
AT_CHARACTER
           
AT_FRAME
           
AT_PAGE
           
AT_PARAGRAPH
           
 
Method Summary
static TextFrame.AnchorType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TextFrame.AnchorType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AT_FRAME

public static final TextFrame.AnchorType AT_FRAME

AT_PAGE

public static final TextFrame.AnchorType AT_PAGE

AT_PARAGRAPH

public static final TextFrame.AnchorType AT_PARAGRAPH

AT_CHARACTER

public static final TextFrame.AnchorType AT_CHARACTER

AS_CHARACTER

public static final TextFrame.AnchorType AS_CHARACTER
Method Detail

values

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

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

valueOf

public static TextFrame.AnchorType 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


(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads