pdfradiobuttonlistfieldwidget-ag凯发旗舰厅



com.spire.pdf.widget
class pdfradiobuttonlistfieldwidget

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.pdfstatefieldwidget
                  extended by com.spire.pdf.widget.pdfradiobuttonlistfieldwidget
all implemented interfaces:
ipdfwrapper

public class pdfradiobuttonlistfieldwidget
extends pdfstatefieldwidget

represents radio button field of an existing pdf document s form.


constructor summary
pdfradiobuttonlistfieldwidget( dictionary,  crosstable)
           
 
method summary
 pdfcheckboxstyle getbuttonstyle()
          gets the button style
 int getselectedindex()
          gets or sets the index of the selected item in the list.
 pdfradiobuttonwidgetitem getselecteditem()
          gets the selected item.
 java.lang.string getselectedvalue()
          gets or sets the value of the first selected item in the list.
 java.lang.string getvalue()
          gets or sets the value of specified item.
 pdfradiobuttonwidgetwidgetitemcollection getwidgetwidgetitems()
          gets the collection of radio button items.
 void setselectedindex(int value)
          sets selected index of the radio button.
 
methods inherited from class com.spire.pdf.widget.pdfstatefieldwidget
getwidgetitems
 
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

pdfradiobuttonlistfieldwidget

public pdfradiobuttonlistfieldwidget( dictionary,
                                      crosstable)
method detail

getwidgetwidgetitems

public pdfradiobuttonwidgetwidgetitemcollection getwidgetwidgetitems()
gets the collection of radio button items. that represents the items within the list.

getselectedindex

public int getselectedindex()
gets or sets the index of the selected item in the list.

setselectedindex

public void setselectedindex(int value)
sets selected index of the radio button.
parameters:
value - selected index

getselectedvalue

public java.lang.string getselectedvalue()
gets or sets the value of the first selected item in the list.

getselecteditem

public pdfradiobuttonwidgetitem getselecteditem()
gets the selected item.

getbuttonstyle

public pdfcheckboxstyle getbuttonstyle()
gets the button style
overrides:
getbuttonstyle in class pdfstyledfieldwidget

getvalue

public java.lang.string getvalue()
gets or sets the value of specified item.


网站地图