public static interface

ToolManager.AnnotationToolbarListener

com.pdftron.pdf.tools.ToolManager.AnnotationToolbarListener

Class Overview

This interface can be used to monitor tools interaction with annotation toolbar

Summary

Public Methods
abstract int annotationToolbarHeight()
The implementation should specify the annotation toolbar height.
abstract void inkEditSelected(Annot annot, int pageNum)
Called when ink edit has been selected.
abstract void openAnnotationToolbar(ToolManager.ToolMode mode)
The implementation should open the annotation toolbar for the mode
abstract void openEditToolbar(ToolManager.ToolMode mode)
The implementation should open the edit toolbar for the mode
abstract int toolbarHeight()
The implementation should specify the toolbar height.

Public Methods

public abstract int annotationToolbarHeight ()

The implementation should specify the annotation toolbar height.

Returns
  • The annotation toolbar height

public abstract void inkEditSelected (Annot annot, int pageNum)

Called when ink edit has been selected.

Parameters
annot The ink annotation

public abstract void openAnnotationToolbar (ToolManager.ToolMode mode)

The implementation should open the annotation toolbar for the mode

Parameters
mode The tool mode

public abstract void openEditToolbar (ToolManager.ToolMode mode)

The implementation should open the edit toolbar for the mode

Parameters
mode The tool mode

public abstract int toolbarHeight ()

The implementation should specify the toolbar height.

Returns
  • The annotation toolbar height