|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.Resource
com.cete.dynamicpdf.forms.FormField
com.cete.dynamicpdf.forms.TextField
public abstract class TextField
Class provides the base class representing a text field.
Licensing:
Reading the values or properties of a field is a
DynamicPDF Merger Standard Edition feature (for modifying field values see below).
One of the following licenses is required for non-evaluation usage:
Modiying the values of the fields (i.e. form filling) is a Professional Edition Feature. One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
|---|---|
protected |
TextField(java.lang.String name,
FormFieldAlign align,
int flags)
Creates a new instance of TextField class. |
protected |
TextField(java.lang.String name,
FormFieldAlign align,
int flags,
AnnotationReaderEvents actions)
Creates a new instance of TextField class. |
| Method Summary | |
|---|---|
protected void |
drawDictionary(DocumentWriter writer)
Draws the text field's dictionary entries to the given DocumentWriter object. |
Align |
getAlign()
Get the text align. |
abstract int |
getMaximumLength()
Gets the maximum length of the text in the text field. |
boolean |
hasValue()
Specifies if the form field has a value. |
| Methods inherited from class com.cete.dynamicpdf.forms.FormField |
|---|
draw, getAlternateName, getAnnotation, getBackgroundColor, getBorderColor, getBorderStyle, getChildFields, getFlags, getFont, getFontSize, getForm, getFullName, getMappingName, getName, getOutput, getParent, getRequiredPdfObjects, getResourceType, getRotate, getTextColor, getUseSubstituteFont, getValue, hasChildFields, inheritsName, inheritsValue, isReadOnly, setAlternateName, setAnnotation, setFont, setFontSize, setMappingName, setName, setOutput, setReadOnly, setUseSubstituteFont, setValue |
| Methods inherited from class com.cete.dynamicpdf.Resource |
|---|
getUid, newUid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TextField(java.lang.String name,
FormFieldAlign align,
int flags)
TextField class.
name - Name of the text field.align - Alignment of the text field.flags - The flags for the text field.TextField
protected TextField(java.lang.String name,
FormFieldAlign align,
int flags,
AnnotationReaderEvents actions)
TextField class.
name - Name of the text field.align - Alignment of the text field.flags - The flags for the text field.actions - The AnnotationReaderEvents for the text field.TextField| Method Detail |
|---|
public boolean hasValue()
hasValue in class FormFieldpublic abstract int getMaximumLength()
protected void drawDictionary(DocumentWriter writer)
DocumentWriter object.
drawDictionary in class FormFieldwriter - DocumentWriter object to receive the output.DocumentWriterpublic Align getAlign()
|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||