pdfstyledfieldwidget-ag凯发旗舰厅



com.spire.pdf.widget
class pdfstyledfieldwidget

java.lang.object
  extended by com.spire.pdf.fields.pdffield
      extended by com.spire.pdf.widget.pdffieldwidget
          extended by com.spire.pdf.widget.pdfstyledfieldwidget
all implemented interfaces:
ipdfwrapper
direct known subclasses:
pdfbuttonwidgetfieldwidget, pdfchoicewidgetfieldwidget, pdfsignaturefieldwidget, pdfstatefieldwidget, pdftextboxfieldwidget

public class pdfstyledfieldwidget
extends pdffieldwidget

represents loaded styled field.


constructor summary
pdfstyledfieldwidget( dictionary,  crosstable)
           
 
method summary
 pdffieldactions getactions()
          gets the actions of the field.
 pdfrgbcolor getbordercolor()
          gets the color of the border.
 pdfborderstyle getborderstyle()
          gets the color of the border.
 float getborderwidth()
          gets the width of the border.
 pdffontbase getfont()
          gets the font.
 pdfaction getgotfocus()
          gets the action to be performed when the annotation receives the input focus.
 java.awt.geom.point2d getlocation()
          gets or sets the location.
 pdfaction getlostfocus()
          gets the action to be performed when the annotation loses the input focus.
 pdfaction getmousedown()
          gets the action to be performed when the mouse button is pressed inside the annotations active area.
 pdfaction getmouseenter()
          gets the action to be performed when the mouse button is pressed inside the annotations active area.
 pdfaction getmouseleave()
          gets the action to be performed when the mouse button is left outside the annotations active area.
 java.awt.geom.dimension2d getsize()
          gets the size.
 boolean getvisible()
          gets a value indicating the visibility of the field.
 void setbordercolor(pdfrgbcolor value)
          sets the color of the border.
 void setborderstyle(pdfborderstyle value)
          sets the color of the border.
 void setborderwidth(float value)
          sets the width of the border.
 void setbounds(java.awt.geom.rectangle2d value)
          sets the bounds.
 void setgotfocus(pdfaction value)
          sets the action to be performed when the annotation receives the input focus.
 void setlocation(java.awt.geom.point2d value)
           
 void setlostfocus(pdfaction value)
          sets the action to be performed when the annotation loses the input focus.
 void setmousedown(pdfaction value)
          sets the action to be performed when the mouse button is pressed inside the annotations active area.
 void setmouseenter(pdfaction value)
          sets the action to be performed when the mouse button is pressed inside the annotations active area.
 void setmouseleave(pdfaction value)
          sets the action to be performed when the mouse button is left outside the annotations active area.
 void setsize(java.awt.geom.dimension2d value)
           
 
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

pdfstyledfieldwidget

public pdfstyledfieldwidget( dictionary,
                             crosstable)
method detail

getactions

public pdffieldactions getactions()
gets the actions of the field.

getmouseenter

public pdfaction getmouseenter()
gets the action to be performed when the mouse button is pressed inside the annotations active area.

setmouseenter

public void setmouseenter(pdfaction value)
sets the action to be performed when the mouse button is pressed inside the annotations active area.

getmousedown

public pdfaction getmousedown()
gets the action to be performed when the mouse button is pressed inside the annotations active area.

setmousedown

public void setmousedown(pdfaction value)
sets the action to be performed when the mouse button is pressed inside the annotations active area.

getmouseleave

public pdfaction getmouseleave()
gets the action to be performed when the mouse button is left outside the annotations active area.

setmouseleave

public void setmouseleave(pdfaction value)
sets the action to be performed when the mouse button is left outside the annotations active area.

getgotfocus

public pdfaction getgotfocus()
gets the action to be performed when the annotation receives the input focus.

setgotfocus

public void setgotfocus(pdfaction value)
sets the action to be performed when the annotation receives the input focus.

getlostfocus

public pdfaction getlostfocus()
gets the action to be performed when the annotation loses the input focus.

setlostfocus

public void setlostfocus(pdfaction value)
sets the action to be performed when the annotation loses the input focus.

setbounds

public void setbounds(java.awt.geom.rectangle2d value)
sets the bounds.
parameters:
value - rectangle2d

getlocation

public java.awt.geom.point2d getlocation()
gets or sets the location.

setlocation

public void setlocation(java.awt.geom.point2d value)

getsize

public java.awt.geom.dimension2d getsize()
gets the size.

setsize

public void setsize(java.awt.geom.dimension2d value)

getborderstyle

public pdfborderstyle getborderstyle()
gets the color of the border.

setborderstyle

public void setborderstyle(pdfborderstyle value)
sets the color of the border.

getbordercolor

public pdfrgbcolor getbordercolor()
gets the color of the border.

setbordercolor

public void setbordercolor(pdfrgbcolor value)
sets the color of the border.

getborderwidth

public float getborderwidth()
gets the width of the border.

setborderwidth

public void setborderwidth(float value)
sets the width of the border.

getfont

public pdffontbase getfont()
gets the font.

getvisible

public boolean getvisible()
gets a value indicating the visibility of the field.


网站地图