|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.simple.Component
org.odftoolkit.simple.common.field.Field
org.odftoolkit.simple.common.field.TimeField
public class TimeField
TimeField displays a time, by default this is the current time.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.odftoolkit.simple.common.field.Field |
|---|
Field.FieldType |
| Method Summary | |
|---|---|
void |
formatTime(String formatString)
Set the format of this time field. |
Field.FieldType |
getFieldType()
Return the type of this field. |
TextTimeElement |
getOdfElement()
Return an instance of TextTimeElement which represents this
feature. |
void |
setFixed(boolean isFixed)
Set whether the time value of this field is fixed. |
| Methods inherited from class org.odftoolkit.simple.Component |
|---|
getComponentByElement, getOwnerDocument, registerComponent, unregisterComponent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void formatTime(String formatString)
SimpleDateFormat.
formatString - the format string of this time.SimpleDateFormatpublic void setFixed(boolean isFixed)
isFixed - if true, the time value shall be preserved,
otherwise it may be replaced with a new value in future edits.public TextTimeElement getOdfElement()
TextTimeElement which represents this
feature.
getOdfElement in class ComponentTextTimeElementpublic Field.FieldType getFieldType()
Field
getFieldType in class Field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||