java.lang.Object | ||
↳ | com.pdftron.pdf.tools.Tool | |
↳ | com.pdftron.pdf.tools.Signature |
Known Direct Subclasses |
This class is for creating signature annotation.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.Tool
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static String | SIGNATURE_ANNOTATION_ID | Custom identifier added to the signature stamp added with this tool. | |||||||||
public static String | SIGNATURE_FIELD_ID |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.Tool
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Signature(PDFViewCtrl ctrl)
Class constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | create(String filepath, Annot widget) | ||||||||||
int |
getCreateAnnotType()
Gets what annotation type this tool can create
| ||||||||||
ToolManager.ToolModeBase |
getToolMode()
The overload implementation of
getToolMode() . | ||||||||||
void | handleAnnotStyleDialogFragmentDismissed(AnnotStyleDialogFragment styleDialog) | ||||||||||
void |
onClose()
The overload implementation of
onClose() . | ||||||||||
void |
onCreate()
Called after the tool is created by ToolManager.
| ||||||||||
boolean |
onLongPress(MotionEvent e)
The overload implementation of
onLongPress(MotionEvent) . | ||||||||||
boolean |
onQuickMenuClicked(QuickMenuItem menuItem)
The overload implementation of
onQuickMenuClicked(QuickMenuItem) . | ||||||||||
boolean |
onSingleTapConfirmed(MotionEvent e)
The overload implementation of
onSingleTapConfirmed(MotionEvent) . | ||||||||||
boolean |
onUp(MotionEvent e, PDFViewCtrl.PriorEventMode priorEventMode)
The overload implementation of
onUp(MotionEvent, PDFViewCtrl.PriorEventMode) . | ||||||||||
void |
setSignatureFilePath(String signatureFilePath)
Sets the exact path to signature file, if this is set, when clicking on a target, the specified signature will be created.
| ||||||||||
void | setTargetPoint(PointF pagePoint, int page) | ||||||||||
void |
setTargetPoint(PointF point)
Sets the target point.
| ||||||||||
void |
setupAnnotProperty(AnnotStyle annotStyle)
Setup annotation properties.
| ||||||||||
void | showSignaturePickerDialog(OnCreateSignatureListener createListener, OnDialogDismissListener dismissListener, SignatureDialogFragment.DialogMode dialogMode) | ||||||||||
void | showSignaturePickerDialog(OnCreateSignatureListener createListener, OnDialogDismissListener dismissListener) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.Tool
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.tools.ToolManager.Tool
|
Custom identifier added to the signature stamp added with this tool.
Gets what annotation type this tool can create
The overload implementation of getToolMode()
.
Called after the tool is created by ToolManager.
The overload implementation of onQuickMenuClicked(QuickMenuItem)
.
menuItem | The clicked menu item. |
---|
The overload implementation of onSingleTapConfirmed(MotionEvent)
.
The overload implementation of onUp(MotionEvent, PDFViewCtrl.PriorEventMode)
.
Sets the exact path to signature file, if this is set, when clicking on a target, the specified signature will be created.
signatureFilePath | the path to the signature file |
---|
Sets the target point.
point | The target point |
---|