pdfchoicewidgetfieldwidget-ag凯发旗舰厅
com.spire.pdf.widget
class pdfchoicewidgetfieldwidget
java.lang.object
com.spire.pdf.fields.pdffield
com.spire.pdf.widget.pdffieldwidget
com.spire.pdf.widget.pdfstyledfieldwidget
com.spire.pdf.widget.pdfchoicewidgetfieldwidget
- all implemented interfaces:
- ipdfwrapper
- direct known subclasses:
- pdfcomboboxwidgetfieldwidget, pdflistboxwidgetfieldwidget
public class pdfchoicewidgetfieldwidget
- extends pdfstyledfieldwidget
represents a choice field of an existing pdf document
s form.
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 |
pdfchoicewidgetfieldwidget
public pdfchoicewidgetfieldwidget( dictionary,
crosstable)
getvalues
public pdflistwidgetitemcollection getvalues()
- gets the collection of choice items.
getselectedindexs
protected int[] getselectedindexs()
- gets the first selected item in the list.
setselectedindexs
public void setselectedindexs(int[] value)
- sets the first selected item in the list.
getselectedvalue
public java.lang.string getselectedvalue()
- gets the value of the first selected item in the list.
setselectedvalue
public void setselectedvalue(java.lang.string value)
- sets the value of the first selected item in the list.
getselecteditem
public pdflistwidgetitemcollection getselecteditem()
- gets the first selected item in the list.
getcommitonselchange
public boolean getcommitonselchange()
- gets the flag indicating if a new value selected is committed immediately without waiting to leave the field.
setcommitonselchange
public void setcommitonselchange(boolean value)
- sets the flag indicating if a new value selected is committed immediately without waiting to leave the field.