|
intarsys PDF library API | |||||||||
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.PDAFTextField
public class PDAFTextField
A logical text field within an AcroForm.
Nested Class Summary | |
---|---|
static class |
PDAFTextField.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static PDAFTextField.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. |
String |
getDefaultValueString()
The value from cosGetDefaultValue() converted to a String |
String |
getValueString()
The value from cosGetValue() converted to a String |
boolean |
isTypeTx()
Return true if this is a text field. |
void |
reset()
Reset this to its default value. |
void |
setDefaultValue(String value)
Assign a new default value. |
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 PDAFTextField.MetaClass META
Method Detail |
---|
public COSName cosGetExpectedFieldType()
PDAcroFormField
cosGetExpectedFieldType
in class PDAcroFormField
public void setValueString(String value)
PDAcroFormField
setValueString
in class PDAcroFormField
value
- The new value of this, represented by a String
.public void setDefaultValue(String value)
PDAcroFormField
setDefaultValue
in class PDAcroFormField
value
- The new default value.public String getValueString()
PDAcroFormField
getValueString
in class PDAcroFormField
public String getDefaultValueString()
PDAcroFormField
getDefaultValueString
in class PDAcroFormField
public boolean isTypeTx()
PDAcroFormField
"Tx" means this is a text style object.
isTypeTx
in class PDAcroFormField
public void reset()
PDAcroFormField
reset
in class PDAcroFormField
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |