|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.pd.PDAcroFormNode
de.intarsys.pdf.pd.PDAcroFormField
de.intarsys.pdf.pd.PDAFButtonField
public class PDAFButtonField
A logical button within an AcroForm.
| Nested Class Summary | |
|---|---|
static class |
PDAFButtonField.MetaClass
|
| Field Summary | |
|---|---|
static COSName |
DK_Opt
|
static PDAFButtonField.MetaClass |
META
The meta class instance |
| Fields inherited from class de.intarsys.pdf.pd.PDAcroFormField |
|---|
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_V |
| Fields inherited from class de.intarsys.pdf.pd.PDAcroFormNode |
|---|
DK_DA, DK_DR, DK_Encoding, DK_Font, DK_Q |
| Fields inherited from class de.intarsys.pdf.pd.PDObject |
|---|
DK_Subtype, DK_Type |
| Fields inherited from interface de.intarsys.pdf.pd.IAdditionalActionSupport |
|---|
DK_AA |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class de.intarsys.pdf.pd.PDObject |
|---|
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, setGenericParent |
| Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
|---|
changed, 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, setFieldString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PDAFButtonField.MetaClass META
public static final COSName DK_Opt
| Method Detail |
|---|
public COSName cosGetExpectedFieldType()
PDAcroFormField
cosGetExpectedFieldType in class PDAcroFormFieldpublic COSArray cosGetOptions()
public COSObject cosSetValue(COSObject state)
PDAcroFormField
cosSetValue 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()
PDAcroFormField
reset in class PDAcroFormFieldpublic void setPushbutton(boolean f)
f - public void setValueString(String value)
PDAcroFormField
setValueString in class PDAcroFormFieldvalue - The new value of this, represented by a String.
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||