public static interface

ToolManager.AdvancedAnnotationListener

com.pdftron.pdf.tools.ToolManager.AdvancedAnnotationListener
Known Indirect Subclasses

Class Overview

This interface can be used to monitor advanced annotation events from various tools.

Summary

Nested Classes
enum ToolManager.AdvancedAnnotationListener.AnnotAction Enum to define the annotation actions for the fileCreated event  
Public Methods
abstract void attachFileSelected(PointF targetPoint)
Called when a location has been selected for adding the file attachment.
abstract void fileAttachmentSelected(FileAttachment attachment)
Called when a file attachment has been selected.
abstract void fileCreated(String fileLocation, ToolManager.AdvancedAnnotationListener.AnnotAction action)
Called when an annotation needs to perform an action with a file created
abstract void freeTextInlineEditingStarted()
Called when free text inline editing has started.
abstract void freehandStylusUsedFirstTime()
Called when free hand stylus has been used for the firs time.
abstract void imageSignatureSelected(PointF targetPoint, int targetPage, Long widget)
Called when a location or widget has been selected for adding the image signature Only one of the param should be valid
abstract void imageStamperSelected(PointF targetPoint)
Called when a location has been selected for adding the image stamp.
abstract boolean newFileSelectedFromTool(String filePath)

Public Methods

public abstract void attachFileSelected (PointF targetPoint)

Called when a location has been selected for adding the file attachment.

Parameters
targetPoint The target location to add the file attachment

public abstract void fileAttachmentSelected (FileAttachment attachment)

Called when a file attachment has been selected.

Parameters
attachment The file attachment

public abstract void fileCreated (String fileLocation, ToolManager.AdvancedAnnotationListener.AnnotAction action)

Called when an annotation needs to perform an action with a file created

Parameters
fileLocation location of the file associated with annotation
action the specific action associated with the file

public abstract void freeTextInlineEditingStarted ()

Called when free text inline editing has started.

public abstract void freehandStylusUsedFirstTime ()

Called when free hand stylus has been used for the firs time.

public abstract void imageSignatureSelected (PointF targetPoint, int targetPage, Long widget)

Called when a location or widget has been selected for adding the image signature Only one of the param should be valid

Parameters
targetPoint the target location in page point
targetPage the target page
widget the target widget

public abstract void imageStamperSelected (PointF targetPoint)

Called when a location has been selected for adding the image stamp.

Parameters
targetPoint The target location to add the image stamp

public abstract boolean newFileSelectedFromTool (String filePath)