pdfchoicewidgetfieldwidget-ag凯发旗舰厅



com.spire.pdf.widget
class pdfchoicewidgetfieldwidget

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
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.


constructor summary
pdfchoicewidgetfieldwidget( dictionary,  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, getrequired, setexport, setflatten, settooltip
 
constructor detail

pdfchoicewidgetfieldwidget

public pdfchoicewidgetfieldwidget( dictionary,
                                   crosstable)
method detail

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.


网站地图