DynamicPDF by ceTe Software

com.cete.dynamicpdf.merger.forms
Class MergeCheckBoxField

java.lang.Object
  |
  +--com.cete.dynamicpdf.Resource
        |
        +--com.cete.dynamicpdf.forms.FormField
              |
              +--com.cete.dynamicpdf.forms.ButtonField
                    |
                    +--com.cete.dynamicpdf.forms.CheckBoxField
                          |
                          +--com.cete.dynamicpdf.merger.forms.MergeCheckBoxField

public class MergeCheckBoxField
extends CheckBoxField

This class can be used to either check or uncheck a check box field.

View Example


Constructor Summary
MergeCheckBoxField(PdfButtonField field)
          Creates a new instance of MergeCheckBoxField
 
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.CheckBoxField
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
 

Constructor Detail

MergeCheckBoxField

public MergeCheckBoxField(PdfButtonField field)
Creates a new instance of MergeCheckBoxField

Method Detail

getValue

public java.lang.String getValue()
Overridden. Gets the value of the merged check box field.

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 merged check box field.

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

drawDictionary

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

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