pdfcheckboxfield-ag凯发旗舰厅



com.spire.pdf.fields
class pdfcheckboxfield

java.lang.object
  extended by com.spire.pdf.fields.pdffield
      extended by com.spire.pdf.fields.pdfstyledfield
          extended by com.spire.pdf.fields.pdfcheckfieldbase
              extended by com.spire.pdf.fields.pdfcheckboxfield
all implemented interfaces:
ipdfwrapper

public class pdfcheckboxfield
extends pdfcheckfieldbase

represents check box field in the pdf form.


constructor summary
pdfcheckboxfield(pdfpagebase page, java.lang.string name)
          initializes a new instance of the class.
 
method summary
 boolean getchecked()
          gets or sets a value indicating whether this is checked.
 boolean getrequired()
          gets a value indicating whether this is required.
 void setchecked(boolean value)
          sets or sets a value indicating whether this is checked.
 void setrequired(boolean value)
          sets a value indicating whether this is required.
 
methods inherited from class com.spire.pdf.fields.pdfcheckfieldbase
getstyle, setstyle
 
methods inherited from class com.spire.pdf.fields.pdfstyledfield
getactions, getbackcolor, getborderstyle, getborderwidth, getbounds, getforecolor, getlocation, getsize, gettextalignment, getvisible, setbackcolor, setbordercolor, setborderstyle, setborderwidth, setbounds, setforecolor, setlocation, setsize, settextalignment, setvisible
 
methods inherited from class com.spire.pdf.fields.pdffield
getexport, getflatten, getform, getmappingname, getname, getpage, getreadonly, gettooltip, setexport, setflatten, setreadonly, settooltip
 
constructor detail

pdfcheckboxfield

public pdfcheckboxfield(pdfpagebase page,
                        java.lang.string name)
initializes a new instance of the class.
parameters:
page - the page where the fields should be placed.
name - the name of the check box field.
method detail

getchecked

public boolean getchecked()
gets or sets a value indicating whether this is checked.

setchecked

public void setchecked(boolean value)
sets or sets a value indicating whether this is checked.
parameters:
value - true if checked; otherwise, false.

getrequired

public boolean getrequired()
gets a value indicating whether this is required.
overrides:
getrequired in class pdffield
returns:
boolean value

setrequired

public void setrequired(boolean value)
sets a value indicating whether this is required.
overrides:
setrequired in class pdffield
parameters:
value - boolean value


网站地图