pdfradiobuttonlistfieldwidget-ag凯发旗舰厅
com.spire.pdf.widget
class pdfradiobuttonlistfieldwidget
java.lang.object
com.spire.pdf.fields.pdffield
com.spire.pdf.widget.pdffieldwidget
com.spire.pdf.widget.pdfstyledfieldwidget
com.spire.pdf.widget.pdfstatefieldwidget
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.
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 |
pdfradiobuttonlistfieldwidget
public pdfradiobuttonlistfieldwidget( dictionary,
crosstable)
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.