DynamicPDF by ceTe Software

com.cete.dynamicpdf.forms
Class ListBoxField

java.lang.Object
  |
  +--com.cete.dynamicpdf.Resource
        |
        +--com.cete.dynamicpdf.forms.FormField
              |
              +--com.cete.dynamicpdf.forms.ChoiceField
                    |
                    +--com.cete.dynamicpdf.forms.ListBoxField
Direct Known Subclasses:
MergeListBoxField

public abstract class ListBoxField
extends ChoiceField

Class provides the base class representing a list box field.


Constructor Summary
ListBoxField(java.lang.String name, FormFieldFlags flags)
          Creates a new instance of ListBoxField.
 
Method Summary
 boolean hasValue()
          Specifies if the form field has a value.
abstract  void setValues(java.lang.String[] values)
          Sets the values of the list box field.
 
Methods inherited from class com.cete.dynamicpdf.forms.ChoiceField
drawDictionary
 
Methods inherited from class com.cete.dynamicpdf.forms.FormField
draw, getAlternateName, getAnnotation, getChildFields, getFlags, getForm, getFullName, getMappingName, getName, getParent, getRequiredPdfObjects, getValue, hasChildFields, inheritsName, inheritsValue, isReadOnly, setAlternateName, setAnnotation, setMappingName, setName, setReadOnly, 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

ListBoxField

public ListBoxField(java.lang.String name,
                    FormFieldFlags flags)
Creates a new instance of ListBoxField.

Parameters:
name - Name of the list box field.
flags - The flags for the list box field.
See Also:
ListBoxField
Method Detail

hasValue

public boolean hasValue()
Specifies if the form field has a value.

Overrides:
hasValue in class FormField
Returns:
A boolean value specifing if the form field has a value.

setValues

public abstract void setValues(java.lang.String[] values)
Sets the values of the list box field.

Parameters:
values - Array of string values to set.

DynamicPDF by ceTe Software

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