org.odftoolkit.simple.style
Enum StyleTypeDefinitions.HorizontalRelative

java.lang.Object
  extended by java.lang.Enum<StyleTypeDefinitions.HorizontalRelative>
      extended by org.odftoolkit.simple.style.StyleTypeDefinitions.HorizontalRelative
All Implemented Interfaces:
Serializable, Comparable<StyleTypeDefinitions.HorizontalRelative>
Enclosing class:
StyleTypeDefinitions

public static enum StyleTypeDefinitions.HorizontalRelative
extends Enum<StyleTypeDefinitions.HorizontalRelative>

Position horizontal relative from ODF specification perspective

Since:
0.5.5

Enum Constant Summary
CHAR
           
FRAME
           
FRAME_CONTENT
           
FRAME_END_MARGIN
           
FRAME_START_MARGIN
           
PAGE
           
PAGE_CONTENT
           
PAGE_END_MARGIN
           
PAGE_START_MARGIN
           
PARAGRAPH
           
PARAGRAPH_CONTENT
           
PARAGRAPH_END_MARGIN
           
PARAGRAPH_START_MARGIN
           
 
Method Summary
static StyleTypeDefinitions.HorizontalRelative enumValueOf(String aValue)
           
 String toString()
           
static StyleTypeDefinitions.HorizontalRelative valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StyleTypeDefinitions.HorizontalRelative[] 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

PAGE

public static final StyleTypeDefinitions.HorizontalRelative PAGE

PAGE_CONTENT

public static final StyleTypeDefinitions.HorizontalRelative PAGE_CONTENT

FRAME

public static final StyleTypeDefinitions.HorizontalRelative FRAME

FRAME_CONTENT

public static final StyleTypeDefinitions.HorizontalRelative FRAME_CONTENT

PARAGRAPH

public static final StyleTypeDefinitions.HorizontalRelative PARAGRAPH

PARAGRAPH_CONTENT

public static final StyleTypeDefinitions.HorizontalRelative PARAGRAPH_CONTENT

CHAR

public static final StyleTypeDefinitions.HorizontalRelative CHAR

PAGE_START_MARGIN

public static final StyleTypeDefinitions.HorizontalRelative PAGE_START_MARGIN

PAGE_END_MARGIN

public static final StyleTypeDefinitions.HorizontalRelative PAGE_END_MARGIN

FRAME_START_MARGIN

public static final StyleTypeDefinitions.HorizontalRelative FRAME_START_MARGIN

FRAME_END_MARGIN

public static final StyleTypeDefinitions.HorizontalRelative FRAME_END_MARGIN

PARAGRAPH_START_MARGIN

public static final StyleTypeDefinitions.HorizontalRelative PARAGRAPH_START_MARGIN

PARAGRAPH_END_MARGIN

public static final StyleTypeDefinitions.HorizontalRelative PARAGRAPH_END_MARGIN
Method Detail

values

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

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

valueOf

public static StyleTypeDefinitions.HorizontalRelative 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

enumValueOf

public static StyleTypeDefinitions.HorizontalRelative enumValueOf(String aValue)

toString

public String toString()
Overrides:
toString in class Enum<StyleTypeDefinitions.HorizontalRelative>


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.