|
|||||||||
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.widget.pdffieldwidget
com.spire.pdf.widget.pdfstyledfieldwidget
com.spire.pdf.widget.pdftextboxfieldwidget
public class pdftextboxfieldwidget
represents the text box field of an existing pdf documents form.
constructor summary | |
---|---|
pdftextboxfieldwidget( dictionary,
crosstable)
|
method summary | |
---|---|
pdfrgbcolor |
getbackcolor()
gets the back color of the field |
java.awt.geom.rectangle2d |
getbounds()
gets the bounds. |
java.lang.string |
getdefaultvalue()
gets the default value of the field. |
pdffontbase |
getfont()
gets the font. |
pdfrgbcolor |
getforecolor()
gets the fore color of the field. |
pdfhighlightmode |
gethighlightmode()
gets the highlightmode of the field. |
boolean |
getinsertspaces()
meaningful only if the maxlength property is set and the multiline, password properties are false. |
int |
getmaxlength()
gets the maximum length of the field, in characters. |
boolean |
getmultiline()
gets a value indicating whether this is multiline. |
boolean |
getpassword()
gets a value indicating whether this is password field. |
boolean |
getscrollable()
gets a value indicating whether this is scrollable. |
boolean |
getspellcheck()
gets a value indicating whether to check spelling. |
java.lang.string |
gettext()
gets value of the text box field. |
pdftextalignment |
gettextalignment()
gets the text alignment in a text box. |
pdftextboxwidgetitemcollection |
getwidgetitems()
gets the collection of text box field items. |
void |
setbackcolor(pdfrgbcolor value)
sets the back color of the field |
void |
setdefaultvalue(java.lang.string value)
sets the default value of the field. |
void |
setfont(pdffontbase value)
sets the font. |
void |
setforecolor(pdfrgbcolor value)
sets the fore color of the field. |
void |
sethighlightmode(pdfhighlightmode value)
sets the highlightmode of the field. |
void |
setinsertspaces(boolean value)
|
void |
setmaxlength(int value)
|
void |
setmultiline(boolean value)
|
void |
setpassword(boolean value)
|
void |
setscrollable(boolean value)
|
void |
setspellcheck(boolean value)
|
void |
settext(java.lang.string value)
sets the text |
void |
settextalignment(pdftextalignment value)
sets the text alignment in a text box. |
methods inherited from class com.spire.pdf.widget.pdfstyledfieldwidget |
---|
getactions, getbordercolor, getborderstyle, getborderwidth, 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 |
methods inherited from interface com.spire.pdf.widget.ipdftextboxfield |
---|
getname |
constructor detail |
---|
public pdftextboxfieldwidget( dictionary, crosstable)
method detail |
---|
public pdfrgbcolor getbackcolor()
getbackcolor
in class pdfstyledfieldwidget
public java.awt.geom.rectangle2d getbounds()
getbounds
in class pdfstyledfieldwidget
public pdfrgbcolor getforecolor()
public void setforecolor(pdfrgbcolor value)
public pdftextalignment gettextalignment()
public void settextalignment(pdftextalignment value)
public pdfhighlightmode gethighlightmode()
public void sethighlightmode(pdfhighlightmode value)
public java.lang.string gettext()
public void settext(java.lang.string value)
value
- text filespublic pdffontbase getfont()
getfont
in class pdfstyledfieldwidget
public void setfont(pdffontbase value)
setfont
in class pdfstyledfieldwidget
public java.lang.string getdefaultvalue()
public void setdefaultvalue(java.lang.string value)
public boolean getspellcheck()
public void setspellcheck(boolean value)
public boolean getinsertspaces()
public void setinsertspaces(boolean value)
public boolean getmultiline()
public void setmultiline(boolean value)
public boolean getpassword()
public void setpassword(boolean value)
public boolean getscrollable()
public void setscrollable(boolean value)
public int getmaxlength()
public void setmaxlength(int value)
public pdftextboxwidgetitemcollection getwidgetitems()
public void setbackcolor(pdfrgbcolor value)
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |