public class PDAFChoiceField extends PDAcroFormField
| Modifier and Type | Class and Description |
|---|---|
static class |
PDAFChoiceField.MetaClass |
| Modifier and Type | Field and Description |
|---|---|
static COSName |
DK_I |
static COSName |
DK_Opt |
static COSName |
DK_TI |
static PDAFChoiceField.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.
|
List |
getExportValues()
A List containing the option export values as Strings.
|
List |
getOptionNames()
A List containing the option names as Strings.
|
List |
getValueList()
|
void |
invalidateCaches()
Invalidate all local caches as the base object may have changed.
|
boolean |
isCombo()
Convenience method to access "Combo" flag.
|
boolean |
isCommitOnSelChange()
Convenience method to access "CommitOnSelChange" flag.
|
boolean |
isEdit()
Convenience method to access "Edit" flag.
|
boolean |
isMultiSelect()
Convenience method to access "MultiSelect" flag.
|
boolean |
isTypeCh()
Return true if this is a field of type "Ch".
|
void |
setOptions(Map options)
Assign the currently active options.
|
void |
setOptions(String[] names,
String[] values)
Assign the currently active options.
|
void |
setValueString(String value)
Set the value of this.
|
void |
setValueStrings(List values)
|
addAnnotation, addField, basicGetFieldFlags, basicSetFieldFlags, copy, cosGetDefaultValue, cosGetFieldType, cosGetValue, cosSetValue, dispose, getAcroForm, getAdditionalActions, getAlternateFieldName, getAnyAnnotation, getDefaultValueString, getFieldFlags, getGenericChildren, getGenericParent, getKids, getLocalName, getLocalName, getLogicalParent, getLogicalRoot, getMaxLen, getParent, getQualifiedName, getQualifiedName, getSupportedTriggerEvents, getValueString, isAlignmentCenter, isAlignmentLeft, isAlignmentRight, isAnnotation, isComb, isDoNotScroll, isMultiline, isNoExport, isReadOnly, isTypeBtn, isTypeSig, isTypeTx, removeField, reset, setAdditionalActions, setAlignmentCenter, setAlignmentLeft, setAlignmentRight, setAlternateFieldName, setComb, setDefaultValue, setDoNotScroll, setLocalName, setMaxLength, setMultiline, setNoExport, setReadOnly, 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 COSName DK_Opt
public static final COSName DK_TI
public static final COSName DK_I
public static final PDAFChoiceField.MetaClass META
public COSName cosGetExpectedFieldType()
PDAcroFormFieldcosGetExpectedFieldType in class PDAcroFormFieldpublic List getExportValues()
public List getOptionNames()
public List getValueList()
public void invalidateCaches()
COSBasedObjectinvalidateCaches in class PDAcroFormFieldpublic boolean isCombo()
public boolean isCommitOnSelChange()
public boolean isEdit()
public boolean isMultiSelect()
public boolean isTypeCh()
PDAcroFormField"Ch" means this is a choice object.
isTypeCh in class PDAcroFormFieldpublic void setOptions(Map options)
options - A Map containing the new options.public void setOptions(String[] names, String[] values)
names - values - public void setValueString(String value)
PDAcroFormFieldsetValueString in class PDAcroFormFieldvalue - The new value of this, represented by a String.public void setValueStrings(List values)
PDAcroFormFieldsetValueStrings in class PDAcroFormFieldvalues - The new value.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.