com.spire.pdf.widget
Class PdfComboBoxWidgetFieldWidget

java.lang.Object
  extended by com.spire.pdf.fields.PdfField
      extended by com.spire.pdf.widget.PdfFieldWidget
          extended by com.spire.pdf.widget.PdfStyledFieldWidget
              extended by com.spire.pdf.widget.PdfChoiceWidgetFieldWidget
                  extended by com.spire.pdf.widget.PdfComboBoxWidgetFieldWidget
All Implemented Interfaces:
IPdfWrapper

public class PdfComboBoxWidgetFieldWidget
extends PdfChoiceWidgetFieldWidget

Represents the combo box field of an existing item.


Constructor Summary
PdfComboBoxWidgetFieldWidget(PdfDictionary dictionary, PdfCrossTable crossTable)
           
 
Method Summary
 java.awt.geom.Rectangle2D getBounds()
          Gets the bounds.
 PdfFontBase getFont()
          Gets the font.
 void setFont(PdfFontBase value)
          Sets the font.
 void setSelectedIndex(int value)
          Sets selected value
 void setSelectedValue(java.lang.String value)
          Sets the selected values of the ComboBox
 
Methods inherited from class com.spire.pdf.widget.PdfChoiceWidgetFieldWidget
getCommitOnSelChange, getSelectedIndexs, getSelectedItem, getSelectedValue, getValues, setCommitOnSelChange, setSelectedIndexs
 
Methods inherited from class com.spire.pdf.widget.PdfStyledFieldWidget
getActions, getBorderColor, getBorderStyle, getBorderWidth, getGotFocus, getLocation, getLostFocus, getMouseDown, getMouseEnter, getMouseLeave, getSize, getVisible, setBorderColor, setBorderStyle, setBorderWidth, setBounds, setGotFocus, setLocation, setLostFocus, setMouseDown, setMouseEnter, setMouseLeave, setSize
 
Methods inherited from class com.spire.pdf.widget.PdfFieldWidget
getName, getPage, getToolTip, importFieldValue, setReadOnly, setRequired
 
Methods inherited from class com.spire.pdf.fields.PdfField
getExport, getFlatten, getForm, getMappingName, getReadOnly, getRequired, setExport, setFlatten, setToolTip
 

Constructor Detail

PdfComboBoxWidgetFieldWidget

public PdfComboBoxWidgetFieldWidget(PdfDictionary dictionary,
                                    PdfCrossTable crossTable)
Method Detail

getFont

public PdfFontBase getFont()
Gets the font.

Overrides:
getFont in class PdfStyledFieldWidget

setFont

public void setFont(PdfFontBase value)
Sets the font.

Overrides:
setFont in class PdfStyledFieldWidget

setSelectedIndex

public void setSelectedIndex(int value)
Sets selected value

Overrides:
setSelectedIndex in class PdfChoiceWidgetFieldWidget
Parameters:
value - selectedIndexs

setSelectedValue

public void setSelectedValue(java.lang.String value)
Sets the selected values of the ComboBox

Overrides:
setSelectedValue in class PdfChoiceWidgetFieldWidget
Parameters:
value -

getBounds

public java.awt.geom.Rectangle2D getBounds()
Gets the bounds.

Overrides:
getBounds in class PdfStyledFieldWidget