java.lang.Object | |||
↳ | com.pdftron.pdf.Annot | ||
↳ | com.pdftron.pdf.annots.Widget | ||
↳ | com.pdftron.pdf.annots.PushButtonWidget |
An object representing a push button used in a PDF Form.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.annots.Widget
| |||||||||||
From class
com.pdftron.pdf.Annot
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PushButtonWidget(Obj d)
Creates a Push Button Widget annotation and initialize it using given Cos/SDF object.
| |||||||||||
PushButtonWidget()
Create an empty Push Button Widget annotation.
| |||||||||||
PushButtonWidget(Annot annot)
Creates a Push Button Widget annotation and initialize it using given annotation object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static PushButtonWidget |
create(Doc doc, Rect pos, String field_name)
Creates a new Push Button Widget annotation, in the specified document.
| ||||||||||
static PushButtonWidget |
create(Doc doc, Rect pos, Field field)
Creates a new Widget annotation, in the specified document.
| ||||||||||
static PushButtonWidget |
create(Doc doc, Rect pos)
Creates a new Push Button Widget annotation, in the specified document.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.annots.Widget
| |||||||||||
From class
com.pdftron.pdf.Annot
| |||||||||||
From class
java.lang.Object
|
Creates a Push Button Widget annotation and initialize it using given Cos/SDF object.
Note: The constructor does not copy any data, but is instead the logical equivalent of a type cast.
d | The object to use to initialize the PushButtonWidget |
---|
Create an empty Push Button Widget annotation.
Creates a Push Button Widget annotation and initialize it using given annotation object.
Note: The constructor does not copy any data, but is instead the logical equivalent of a type cast.
annot | the annotation from which to create a Push Button Widget |
---|
PDFNetException |
---|
Creates a new Push Button Widget annotation, in the specified document.
doc | The document to which the annotation is added. |
---|---|
pos | A rectangle specifying the annotation's bounds, specified in user space coordinates. |
field_name | The name of the field for which to create a PushButton widget. |
PDFNetException |
---|
Creates a new Widget annotation, in the specified document.
doc | The document to which the annotation is added. |
---|---|
pos | A rectangle specifying the annotation's bounds, specified in user space coordinates. |
field | the field for which to create a Push Button Widget. |
PDFNetException |
---|
Creates a new Push Button Widget annotation, in the specified document.
doc | The document to which the annotation is added. |
---|---|
pos | A rectangle specifying the annotation's bounds, specified in user space coordinates. |
PDFNetException |
---|