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
public abstract class ListBoxField
- extends ChoiceField
Class provides the base class representing a list box 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:
- DynamicPDF Merger Standard Edition
- DynamicPDF Merger Professional Edition
- DynamicPDF Merger Enterprise Edition
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:
- DynamicPDF Merger Professional Edition
- DynamicPDF Merger Enterprise Edition
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.FormField |
draw, getAlternateName, getAnnotation, getBackgroundColor, getBorderColor, getBorderStyle, getChildFields, getFlags, getFont, getFontSize, getForm, getFullName, getMappingName, getName, getOutput, getParent, getRequiredPdfObjects, getResourceType, getRotate, getTextColor, getUseSubstituteFont, getValue, hasChildFields, inheritsName, inheritsValue, isReadOnly, setAlternateName, setAnnotation, setFont, setFontSize, setMappingName, setName, setOutput, setReadOnly, setUseSubstituteFont, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListBoxField
public ListBoxField(java.lang.String name,
int flags,
AnnotationReaderEvents actions)
- Creates a new instance of
ListBoxField
class.
- Parameters:
name
- Name of the list box field.flags
- The flags for the list box field.actions
- The AnnotationReaderEvents for the list box field.- See Also:
ListBoxField
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.
API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software