|
|||||||||
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.PdfButtonWidgetFieldWidget
public class PdfButtonWidgetFieldWidget
Represents a button field of an existing PDF document s form.
Constructor Summary | |
---|---|
PdfButtonWidgetFieldWidget(PdfDictionary dictionary,
PdfCrossTable crossTable)
|
Method Summary | |
---|---|
java.awt.geom.Rectangle2D |
getBounds()
Gets the bounds. |
PdfFontBase |
getFont()
Gets the font. |
PdfButtonIconLayout |
getIconLayout()
Defining the icon layout. |
java.lang.String |
getText()
Gets or sets the caption text. |
void |
setButtonImage(PdfImage image)
need replace image |
void |
setFont(PdfFontBase value)
Sets the font. |
void |
setText(java.lang.String value)
Sets the text of the field. |
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 |
Constructor Detail |
---|
public PdfButtonWidgetFieldWidget(PdfDictionary dictionary, PdfCrossTable crossTable)
Method Detail |
---|
public java.lang.String getText()
public void setText(java.lang.String value)
value
- Text field.public PdfButtonIconLayout getIconLayout()
public PdfFontBase getFont()
getFont
in class PdfStyledFieldWidget
public void setFont(PdfFontBase value)
setFont
in class PdfStyledFieldWidget
public java.awt.geom.Rectangle2D getBounds()
getBounds
in class PdfStyledFieldWidget
public void setButtonImage(PdfImage image)
image
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |