|
||||||||||
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.ConditionField
public class ConditionField
ConditionField specifies a condition for display of one text string or another. If the condition is true, one of the text strings is displayed. If the condition is false, the other text string is displayed.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.odftoolkit.simple.common.field.Field |
---|
Field.FieldType |
Method Summary | |
---|---|
Field.FieldType |
getFieldType()
Return the type of this field. |
OdfElement |
getOdfElement()
Return the instance of OdfElement which presents this structure. |
void |
updateCondition(String condition)
Update the condition of this field. |
void |
updateFalseText(String text)
Update the false text of this condition field. |
void |
updateTrueText(String text)
Update the true text of this condition field. |
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 updateCondition(String condition)
condition
- the new condition of this condition field.public void updateTrueText(String text)
text
- the new text content.public void updateFalseText(String text)
text
- the new text content.public OdfElement getOdfElement()
Component
getOdfElement
in class Component
public Field.FieldType getFieldType()
Field
getFieldType
in class Field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |