DynamicPDF by ceTe Software

com.cete.dynamicpdf.merger.forms
Class PdfChoiceField

java.lang.Object
  extended by com.cete.dynamicpdf.merger.forms.PdfFormField
      extended by com.cete.dynamicpdf.merger.forms.PdfChoiceField

public class PdfChoiceField
extends PdfFormField

Represents a choice field in a PDF document.

Licensing:
This class is a DynamicPDF Merger Standard Edition feature. One of the following licenses is required for non-evaluation usage:


Method Summary
 boolean getCombo()
           
 boolean getCommitOnSelChange()
           
 java.lang.String getDefaultValue()
          Gets the default value of the choice fields.
 java.lang.String[] getDefaultValues()
          Gets the default values of the choice field.
 boolean getDoNotSpellCheck()
           
 boolean getEdit()
           
 Font getFont()
          Gets the font for the field.
 java.lang.String[] getItems()
          Gets all the items present in the combo box or list box.
 java.lang.String[] getItemsExportValues()
          Gets the export values for all the items available for selection in the combo box or list box.
 boolean getMultiSelect()
           
 boolean getSort()
           
 java.lang.String getValue()
          Gets the value of the choice fields.
 java.lang.String[] getValues()
          Gets the values of the choice field.
 
Methods inherited from class com.cete.dynamicpdf.merger.forms.PdfFormField
createLabel, createLabel, createLabel, createLabel, createLabel, createLabel, createLabel, createLabel, getAlign, getBackgroundColor, getBorderColor, getBorderStyle, getChildFields, getComb, getDoNotScroll, getExportValue, getFileSelect, getFlags, getFontSize, getForm, getFullName, getHeight, getMultiline, getName, getNoExport, getNone, getNoToggleToOff, getOriginalPageNumber, getParent, getPassword, getPushbutton, getRadio, getRadiosInUnison, getReadOnly, getRequired, getRichText, getRotate, getTextColor, getWidth, getX, getY, hasChildFields, positionPageElement, setFont, setFontSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValues

public java.lang.String[] getValues()
Gets the values of the choice field.

Returns:
An array of strings containing the value.

getValue

public java.lang.String getValue()
Gets the value of the choice fields.

Overrides:
getValue in class PdfFormField
Returns:
A string containing the value.

getDefaultValues

public java.lang.String[] getDefaultValues()
Gets the default values of the choice field.

Returns:
An array of strings containing the default values.

getDefaultValue

public java.lang.String getDefaultValue()
Gets the default value of the choice fields.

Overrides:
getDefaultValue in class PdfFormField
Returns:
The default value of the choice fields.

getItemsExportValues

public java.lang.String[] getItemsExportValues()
Gets the export values for all the items available for selection in the combo box or list box.

Returns:
string[] of export values available for selection.

getItems

public java.lang.String[] getItems()
Gets all the items present in the combo box or list box.

Returns:
string[] items present in the combo box or list box.

getCombo

public boolean getCombo()
Overrides:
getCombo in class PdfFormField
Returns:
the combo property of the text field.

getEdit

public boolean getEdit()
Overrides:
getEdit in class PdfFormField
Returns:
the edit property of the text field.

getSort

public boolean getSort()
Overrides:
getSort in class PdfFormField
Returns:
the sort property of the text field.

getDoNotSpellCheck

public boolean getDoNotSpellCheck()
Overrides:
getDoNotSpellCheck in class PdfFormField
Returns:
the do not spell check property of the text field.

getCommitOnSelChange

public boolean getCommitOnSelChange()
Overrides:
getCommitOnSelChange in class PdfFormField
Returns:
the commit on sel change property of the text field.

getMultiSelect

public boolean getMultiSelect()
Overrides:
getMultiSelect in class PdfFormField
Returns:
the multi select property of the text field.

getFont

public Font getFont()
Gets the font for the field.

Overrides:
getFont in class PdfFormField
Returns:
the font for the field.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software