public class PDAFButtonField extends PDAcroFormField
| Modifier and Type | Class and Description |
|---|---|
static class |
PDAFButtonField.MetaClass |
| Modifier and Type | Field and Description |
|---|---|
static COSName |
DK_Opt |
static PDAFButtonField.MetaClass |
META
The meta class instance
|
ACROFORMFIELD_ACTION_TRIGGERS, ALIGNMENT_CENTER, ALIGNMENT_LEFT, ALIGNMENT_RIGHT, CN_FT_Btn, CN_FT_Ch, CN_FT_Sig, CN_FT_Tx, DK_DS, DK_DV, DK_Ff, DK_FT, DK_Kids, DK_MaxLen, DK_Parent, DK_RV, DK_T, DK_TM, DK_TU, DK_VDK_DA, DK_DR, DK_Encoding, DK_Font, DK_QDK_Subtype, DK_TypeDK_AA| Modifier and Type | Method and Description |
|---|---|
COSName |
cosGetExpectedFieldType()
The AcroForm field type expected for this.
|
COSArray |
cosGetOptions() |
COSObject |
cosSetValue(COSObject state)
Sets the /V entry in this node and removes all /V entries in child nodes.
|
Set |
getAvailableButtonAppearanceStates()
The
Set of possible states the button can enter. |
Set |
getAvailableButtonAppearanceStatesNoOff()
The
Set of possible non - off states the button can enter. |
boolean |
isCheckbox()
Return true when this is an object with checkbox behavior.
|
boolean |
isChecked()
true if this is checked. |
boolean |
isPushbutton()
true if this is a pushbutton. |
boolean |
isRadio()
true if this is a radio button. |
boolean |
isTypeBtn()
Return true if this is a field of type "Btn".
|
void |
reset()
Reset this to its default value.
|
void |
setPushbutton(boolean f)
Make this a push button.
|
void |
setValueString(String value)
Set the value of this.
|
addAnnotation, addField, basicGetFieldFlags, basicSetFieldFlags, copy, cosGetDefaultValue, cosGetFieldType, cosGetValue, dispose, getAcroForm, getAdditionalActions, getAlternateFieldName, getAnyAnnotation, getDefaultValueString, getFieldFlags, getGenericChildren, getGenericParent, getKids, getLocalName, getLocalName, getLogicalParent, getLogicalRoot, getMaxLen, getParent, getQualifiedName, getQualifiedName, getSupportedTriggerEvents, getValueString, invalidateCaches, isAlignmentCenter, isAlignmentLeft, isAlignmentRight, isAnnotation, isComb, isDoNotScroll, isMultiline, isNoExport, isReadOnly, isTypeCh, isTypeSig, isTypeTx, removeField, setAdditionalActions, setAlignmentCenter, setAlignmentLeft, setAlignmentRight, setAlternateFieldName, setComb, setDefaultValue, setDoNotScroll, setLocalName, setMaxLength, setMultiline, setNoExport, setReadOnly, setValueStrings, toStringcanonicalize, collectLeafFields, getAnnotation, getAnnotations, getDefaultAppearanceContent, getDefaultAppearanceFont, getDefaultAppearanceFontColor, getDefaultAppearanceFontName, getDefaultAppearanceFontSize, getField, getField, getQuadding, setDefaultAppearanceContent, setDefaultAppearanceFont, setDefaultAppearanceFontColor, setDefaultAppearanceFontSize, setQuaddingcosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, setGenericParentchanged, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldStringpublic static final PDAFButtonField.MetaClass META
public static final COSName DK_Opt
public COSName cosGetExpectedFieldType()
PDAcroFormFieldcosGetExpectedFieldType in class PDAcroFormFieldpublic COSArray cosGetOptions()
public COSObject cosSetValue(COSObject state)
PDAcroFormFieldcosSetValue in class PDAcroFormFieldpublic Set getAvailableButtonAppearanceStates()
Set of possible states the button can enter.Set of possible states the button can enter.public Set getAvailableButtonAppearanceStatesNoOff()
Set of possible non - off states the button can enter.Set of possible non - off states the button can
enter.public boolean isCheckbox()
public boolean isChecked()
true if this is checked.true if this is checked.public boolean isPushbutton()
true if this is a pushbutton.true if this is a pushbutton.public boolean isRadio()
true if this is a radio button.true if this is a radio button.public boolean isTypeBtn()
PDAcroFormField"Btn" means this is a button style object.
isTypeBtn in class PDAcroFormFieldpublic void reset()
PDAcroFormFieldreset in class PDAcroFormFieldpublic void setPushbutton(boolean f)
f - public void setValueString(String value)
PDAcroFormFieldsetValueString in class PDAcroFormFieldvalue - The new value of this, represented by a String.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.