| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.fields.PdfField
com.spire.pdf.widget.PdfFieldWidget
com.spire.pdf.widget.PdfStyledFieldWidget
com.spire.pdf.widget.PdfChoiceWidgetFieldWidget
public class PdfChoiceWidgetFieldWidget
Represents a choice field of an existing PDF document s form.
| Constructor Summary | |
|---|---|
| PdfChoiceWidgetFieldWidget(PdfDictionary dictionary,
                           PdfCrossTable crossTable) | |
| Method Summary | |
|---|---|
|  boolean | getCommitOnSelChange()Gets the flag indicating if a new value selected is committed immediately without waiting to leave the field. | 
| protected  int[] | getSelectedIndexs()Gets the first selected item in the list. | 
|  PdfListWidgetItemCollection | getSelectedItem()Gets the first selected item in the list. | 
|  java.lang.String | getSelectedValue()Gets the value of the first selected item in the list. | 
|  PdfListWidgetItemCollection | getValues()Gets the collection of choice items. | 
|  void | setCommitOnSelChange(boolean value)Sets the flag indicating if a new value selected is committed immediately without waiting to leave the field. | 
|  void | setSelectedIndexs(int[] value)Sets the first selected item in the list. | 
|  void | setSelectedValue(java.lang.String value)Sets the value of the first selected item in the list. | 
| Methods inherited from class com.spire.pdf.widget.PdfStyledFieldWidget | 
|---|
| getActions, getBorderColor, getBorderStyle, getBorderWidth, getFont, 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, setExport, setFlatten, setToolTip | 
| Constructor Detail | 
|---|
public PdfChoiceWidgetFieldWidget(PdfDictionary dictionary,
                                  PdfCrossTable crossTable)
| Method Detail | 
|---|
public PdfListWidgetItemCollection getValues()
protected int[] getSelectedIndexs()
public void setSelectedIndexs(int[] value)
public java.lang.String getSelectedValue()
public void setSelectedValue(java.lang.String value)
public PdfListWidgetItemCollection getSelectedItem()
public boolean getCommitOnSelChange()
public void setCommitOnSelChange(boolean value)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||