DynamicPDF by ceTe Software

com.cete.dynamicpdf.merger.forms
Class MergeTextField

java.lang.Object
  |
  +--com.cete.dynamicpdf.Resource
        |
        +--com.cete.dynamicpdf.forms.FormField
              |
              +--com.cete.dynamicpdf.forms.TextField
                    |
                    +--com.cete.dynamicpdf.merger.forms.MergeTextField

public class MergeTextField
extends TextField

This class can be used to enter of edit text in a text field.

View Example


Method Summary
protected  void drawDictionary(DocumentWriter writer)
          Draws the merged text field's dictionary entries to the given DocumentWriter object.
 int getMaximumLength()
          Gets the maximum length of the merged text field.
 java.lang.String getValue()
          Gets the value of the merged text field.
 void setValue(java.lang.String value)
          Sets the value of the form field.
 
Methods inherited from class com.cete.dynamicpdf.forms.TextField
hasValue
 
Methods inherited from class com.cete.dynamicpdf.forms.FormField
draw, getAlternateName, getAnnotation, getChildFields, getFlags, getForm, getFullName, getMappingName, getName, getParent, getRequiredPdfObjects, hasChildFields, inheritsName, inheritsValue, isReadOnly, setAlternateName, setAnnotation, setMappingName, setName, setReadOnly
 
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
 

Method Detail

getValue

public java.lang.String getValue()
Gets the value of the merged text field.

Overrides:
getValue in class FormField
Returns:
The value of the form field.

setValue

public void setValue(java.lang.String value)
Description copied from class: FormField
Sets the value of the form field.

Overrides:
setValue in class FormField
Parameters:
value - The value of the form field.

getMaximumLength

public int getMaximumLength()
Gets the maximum length of the merged text field.

Specified by:
getMaximumLength in class TextField
Returns:
the maximum length of the text in the text field.

drawDictionary

protected void drawDictionary(DocumentWriter writer)
Draws the merged text field's dictionary entries to the given DocumentWriter object.

Overrides:
drawDictionary in class TextField
Parameters:
writer - DocumentWriter object to receive the output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDF™ for Java generated on December 20, 2005
© Copyright 2005, ceTe Software