public static interface

ToolManager.PreToolManagerListener

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

Class Overview

This interface can be used to avoid executing Tool's code in the ToolManager implementation (the events will be called before Tool's ones).

Summary

Public Methods
abstract boolean onDoubleTap(MotionEvent e)
Propagates onDoubleTap(MotionEvent) to the tools.
abstract boolean onDown(MotionEvent e)
abstract boolean onKeyUp(int keyCode, KeyEvent event)
Propagates onKeyUp(int, KeyEvent) to the tools.
abstract boolean onLongPress(MotionEvent e)
Propagates onLongPress(MotionEvent) to the tools.
abstract boolean onMove(MotionEvent e1, MotionEvent e2, float x_dist, float y_dist)
abstract boolean onScale(float x, float y)
Propagates onScale(float, float) to the tools.
abstract boolean onScaleBegin(float x, float y)
Propagates onScaleBegin(float, float) to the tools.
abstract boolean onScaleEnd(float x, float y)
Propagates onScaleEnd(float, float) to the tools.
abstract void onScrollChanged(int l, int t, int oldl, int oldt)
Propagates onScrollChanged(int, int, int, int) to the tools.
abstract boolean onSingleTapConfirmed(MotionEvent e)
Propagates onSingleTapConfirmed(MotionEvent) to the tools.
abstract boolean onUp(MotionEvent e, PDFViewCtrl.PriorEventMode priorEventMode)

Public Methods

public abstract boolean onDoubleTap (MotionEvent e)

Propagates onDoubleTap(MotionEvent) to the tools.

public abstract boolean onDown (MotionEvent e)

public abstract boolean onKeyUp (int keyCode, KeyEvent event)

Propagates onKeyUp(int, KeyEvent) to the tools.

public abstract boolean onLongPress (MotionEvent e)

Propagates onLongPress(MotionEvent) to the tools.

public abstract boolean onMove (MotionEvent e1, MotionEvent e2, float x_dist, float y_dist)

public abstract boolean onScale (float x, float y)

Propagates onScale(float, float) to the tools.

public abstract boolean onScaleBegin (float x, float y)

Propagates onScaleBegin(float, float) to the tools.

public abstract boolean onScaleEnd (float x, float y)

Propagates onScaleEnd(float, float) to the tools.

public abstract void onScrollChanged (int l, int t, int oldl, int oldt)

Propagates onScrollChanged(int, int, int, int) to the tools.

public abstract boolean onSingleTapConfirmed (MotionEvent e)

Propagates onSingleTapConfirmed(MotionEvent) to the tools.

public abstract boolean onUp (MotionEvent e, PDFViewCtrl.PriorEventMode priorEventMode)