DynamicPDF by ceTe Software

com.cete.dynamicpdf.forms
Class ButtonField

java.lang.Object
  extended by com.cete.dynamicpdf.Resource
      extended by com.cete.dynamicpdf.forms.FormField
          extended by com.cete.dynamicpdf.forms.ButtonField
Direct Known Subclasses:
CheckBoxField, RadioButtonField

public abstract class ButtonField
extends FormField

Base class representing a button 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 ButtonField(java.lang.String name, int flags, AnnotationReaderEvents actions)
          Initializes a new instance of the ButtonField class.
 
Method Summary
protected  void drawDictionary(DocumentWriter writer)
          Draws the form field's dictionary entries to the given DocumentWriter object.
 
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, hasValue, 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

ButtonField

protected ButtonField(java.lang.String name,
                      int flags,
                      AnnotationReaderEvents actions)
Initializes a new instance of the ButtonField class.

Parameters:
name - Name of the button field.
flags - The flags for the button field.
actions - The AnnotationReaderEvents for the button field.
Method Detail

drawDictionary

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

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

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software