|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.fields.pdffield
com.spire.pdf.fields.pdfstyledfield
com.spire.pdf.fields.pdfappearancefield
com.spire.pdf.fields.pdfbuttonfield
public class pdfbuttonfield
represents button field in the pdf form.
constructor summary | |
---|---|
pdfbuttonfield()
|
|
pdfbuttonfield(pdfpagebase page,
java.lang.string name)
initializes a new instance of the class. |
method summary | |
---|---|
pdfimage |
getalternateicon()
gets the widget annotation's alternate icon displayed when the mouse button is pressed within its active area, only available in push mode. |
java.lang.string |
getalternatetext()
gets the text displayed when the mouse button is pressed within the annotation's active area, only available in push mode. |
pdfhighlightmode |
gethighlightmode()
gets the highlightmode |
pdfimage |
geticon()
gets the widget annotation's normal icon displayed when it is not interacting with the user. |
pdfbuttoniconlayout |
geticonlayout()
defining the icon layout. |
pdfimage |
getrollovericon()
gets the widget annotation's rollover icon displayed when the user rolls the cursor into its active area without pressing the mouse button, only available in push mode. |
java.lang.string |
getrollovertext()
gets the text displayed when the user rolls the cursor into the annotation's active area without pressing the mouse button, only available in push mode. |
void |
setalternateicon(pdfimage value)
sets the widget annotation's alternate icon displayed when the mouse button is pressed within its active area, only available in push mode. |
void |
setalternatetext(java.lang.string value)
sets the text displayed when the mouse button is pressed within the annotation's active area, only available in push mode. |
void |
setfont(pdffontbase value)
sets the font |
void |
sethighlightmode(pdfhighlightmode highlightmode)
sets the highlightmode |
void |
seticon(pdfimage value)
sets the widget annotation's normal icon displayed when it is not interacting with the user. |
void |
setlayoutmode(pdfbuttonlayoutmode value)
sets the button layout mode. |
void |
setrollovericon(pdfimage value)
sets the widget annotation's rollover icon displayed when the user rolls the cursor into its active area without pressing the mouse button, only available in push mode. |
void |
setrollovertext(java.lang.string value)
sets the text displayed when the user rolls the cursor into the annotation's active area without pressing the mouse button, only available in push mode. |
void |
settext(java.lang.string value)
sets the text |
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, getrequired, gettooltip, setexport, setflatten, setreadonly, settooltip |
constructor detail |
---|
public pdfbuttonfield(pdfpagebase page, java.lang.string name)
page
- the page where the fields should be placed.name
- the name of the button.public pdfbuttonfield()
method detail |
---|
public pdfhighlightmode gethighlightmode()
gethighlightmode
in class pdfstyledfield
public void sethighlightmode(pdfhighlightmode highlightmode)
sethighlightmode
in class pdfstyledfield
highlightmode
- public void settext(java.lang.string value)
value
- text contentspublic void setfont(pdffontbase value)
setfont
in class pdfstyledfield
value
- this is pdffontbase objectpublic void setlayoutmode(pdfbuttonlayoutmode value)
public java.lang.string getalternatetext()
public void setalternatetext(java.lang.string value)
public java.lang.string getrollovertext()
public void setrollovertext(java.lang.string value)
public pdfbuttoniconlayout geticonlayout()
public pdfimage geticon()
public void seticon(pdfimage value)
public pdfimage getalternateicon()
public void setalternateicon(pdfimage value)
public pdfimage getrollovericon()
public void setrollovericon(pdfimage value)
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |