org.odftoolkit.simple
Enum PresentationDocument.PresentationClass

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

public static enum PresentationDocument.PresentationClass
extends Enum<PresentationDocument.PresentationClass>

It represents the defined values of presentation:class. The presentation:class attribute classifies presentation shapes by their usage within a draw page.

Since:
0.5

Enum Constant Summary
CHAT
          presentation charts are standard object shapes.
DATETIME
          drawing shape is used as a date and/or time shape.
FOOTER
          drawing shape is used as a footer.
GRAPHIC
          presentation graphics are standard graphic shapes.
HANDOUT
          presentation handouts are placeholder for the drawing page in a handout page.
HEADER
          drawing shape is used as a header.
NOTES
          presentation notes are used on notes pages.
OBJECTS
          presentation objects are standard object shapes.
ORGCHART
          presentation organization charts are standard object shapes.
OUTLINE
          outlines are standard text shapes
PAGE
          presentation pages are used on notes pages
PAGENUMBER
          drawing shape is used as a page number shape.
SUBTITLE
          subtitles are standard text shapes
TABLE
          presentation tables are standard object shapes
TEXT
          presentation texts are standard text shapes
TITLE
          titles are standard text shapes
 
Method Summary
static PresentationDocument.PresentationClass enumValueOf(String aValue)
           
 String toString()
           
static PresentationDocument.PresentationClass valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PresentationDocument.PresentationClass[] 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

CHAT

public static final PresentationDocument.PresentationClass CHAT
presentation charts are standard object shapes.


GRAPHIC

public static final PresentationDocument.PresentationClass GRAPHIC
presentation graphics are standard graphic shapes.


HANDOUT

public static final PresentationDocument.PresentationClass HANDOUT
presentation handouts are placeholder for the drawing page in a handout page.


NOTES

public static final PresentationDocument.PresentationClass NOTES
presentation notes are used on notes pages.


OBJECTS

public static final PresentationDocument.PresentationClass OBJECTS
presentation objects are standard object shapes.


ORGCHART

public static final PresentationDocument.PresentationClass ORGCHART
presentation organization charts are standard object shapes.


OUTLINE

public static final PresentationDocument.PresentationClass OUTLINE
outlines are standard text shapes


PAGE

public static final PresentationDocument.PresentationClass PAGE
presentation pages are used on notes pages


SUBTITLE

public static final PresentationDocument.PresentationClass SUBTITLE
subtitles are standard text shapes


TABLE

public static final PresentationDocument.PresentationClass TABLE
presentation tables are standard object shapes


TEXT

public static final PresentationDocument.PresentationClass TEXT
presentation texts are standard text shapes


TITLE

public static final PresentationDocument.PresentationClass TITLE
titles are standard text shapes


DATETIME

public static final PresentationDocument.PresentationClass DATETIME
drawing shape is used as a date and/or time shape. Date and Time shapes are standard text shapes.


FOOTER

public static final PresentationDocument.PresentationClass FOOTER
drawing shape is used as a footer. Footer shapes are standard text shapes.


HEADER

public static final PresentationDocument.PresentationClass HEADER
drawing shape is used as a header. Header shapes are standard text shapes.


PAGENUMBER

public static final PresentationDocument.PresentationClass PAGENUMBER
drawing shape is used as a page number shape. Page Number shapes are standard text shapes.

Method Detail

values

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

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

valueOf

public static PresentationDocument.PresentationClass 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()
Overrides:
toString in class Enum<PresentationDocument.PresentationClass>

enumValueOf

public static PresentationDocument.PresentationClass enumValueOf(String aValue)


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