DynamicPDF by ceTe Software

com.cete.dynamicpdf.merger.forms
Class MergeComboBoxField

java.lang.Object
  |
  +--com.cete.dynamicpdf.Resource
        |
        +--com.cete.dynamicpdf.forms.FormField
              |
              +--com.cete.dynamicpdf.forms.ChoiceField
                    |
                    +--com.cete.dynamicpdf.forms.ComboBoxField
                          |
                          +--com.cete.dynamicpdf.merger.forms.MergeComboBoxField

public class MergeComboBoxField
extends ComboBoxField

This class can be used to select or add the value that will appear first in the combo box field.

View Example


Method Summary
protected  void drawDictionary(DocumentWriter writer)
          Overridden.
 java.lang.String getValue()
          Overridden.
 void setValue(java.lang.String value)
          Overridden.
 
Methods inherited from class com.cete.dynamicpdf.forms.ComboBoxField
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()
Overridden. Gets the value of the MergedComboBoxField.

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

setValue

public void setValue(java.lang.String value)
Overridden. Sets the value of the MergedComboBoxField.

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

drawDictionary

protected void drawDictionary(DocumentWriter writer)
Overridden. Draws the combo box field's dictionary entries to the given DocumentWriter object.

Overrides:
drawDictionary in class ChoiceField
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