public class ConditionField extends Field
Field.FieldType| Modifier and Type | Method and Description |
|---|---|
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.
|
getComponentByElement, getOwnerDocument, registerComponent, unregisterComponentpublic 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()
ComponentgetOdfElement in class Componentpublic Field.FieldType getFieldType()
FieldgetFieldType in class FieldCopyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.