org.odftoolkit.simple.common.field
Class Field

java.lang.Object
  extended by org.odftoolkit.simple.Component
      extended by org.odftoolkit.simple.common.field.Field
Direct Known Subclasses:
AuthorField, ChapterField, ConditionField, DateField, PageCountField, PageNumberField, ReferenceField, SubjectField, TimeField, TitleField, VariableField

public abstract class Field
extends Component

This is the abstract class of all kinds of fields.

Since:
0.5
See Also:
FieldSelection

Nested Class Summary
static class Field.FieldType
          A FieldType specifies the type of a field.
 
Constructor Summary
Field()
           
 
Method Summary
abstract  Field.FieldType getFieldType()
          Return the type of this field.
 
Methods inherited from class org.odftoolkit.simple.Component
getComponentByElement, getOdfElement, getOwnerDocument, registerComponent, unregisterComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Field

public Field()
Method Detail

getFieldType

public abstract Field.FieldType getFieldType()
Return the type of this field.

Returns:
the type of this field.


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