com.pdftron.pdf.tools.ToolManager.Tool |
Known Indirect Subclasses |
This interface is used to forward events from PDFViewCtrl.ToolManager
to the actual implementation of the Tool.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
getCreateAnnotType()
Gets what annotation type this tool can create
| ||||||||||
abstract ToolManager.ToolModeBase |
getNextToolMode()
Gets the next tool mode.
| ||||||||||
abstract ToolManager.ToolModeBase |
getToolMode()
Gets the tool mode.
| ||||||||||
abstract boolean |
isCreatingAnnotation()
Propagates
isCreatingAnnotation() to the tools. | ||||||||||
abstract void |
onAnnotPainterUpdated(int page, long which, CurvePainter painter)
Propagates
onAnnotPainterUpdated(int, long, com.pdftron.pdf.CurvePainter) to the tools. | ||||||||||
abstract void |
onClose()
Propagates
onClose() to the tools. | ||||||||||
abstract void |
onConfigurationChanged(Configuration newConfig)
Propagates
onConfigurationChanged(Configuration) to the tools. | ||||||||||
abstract void |
onCustomEvent(Object obj)
Propagates
onCustomEvent(Object) to the tools. | ||||||||||
abstract void |
onDocumentDownloadEvent(PDFViewCtrl.DownloadState state, int page_num, int page_downloaded, int page_count, String message)
Propagates
onDocumentDownloadEvent(PDFViewCtrl.DownloadState, int, int, int, String) to the tools. | ||||||||||
abstract boolean |
onDoubleTap(MotionEvent e)
Propagates
onDoubleTap(MotionEvent) to the tools. | ||||||||||
abstract void |
onDoubleTapEnd(MotionEvent e)
Propagates
onDoubleTapEnd(MotionEvent) to the tools. | ||||||||||
abstract boolean |
onDoubleTapEvent(MotionEvent e)
Propagates
onDoubleTapEvent(MotionEvent) to the tools. | ||||||||||
abstract void |
onDoubleTapZoomAnimationBegin()
Propagates
onDoubleTapZoomAnimationBegin() to the tools. | ||||||||||
abstract void |
onDoubleTapZoomAnimationEnd()
Propagates
onDoubleTapZoomAnimationEnd() to the tools. | ||||||||||
abstract boolean |
onDown(MotionEvent e)
Propagates
onDown(MotionEvent) to the tools. | ||||||||||
abstract void |
onDraw(Canvas canvas, Matrix tfm)
Propagates
onDraw(Canvas, Matrix) to the tools. | ||||||||||
abstract boolean |
onDrawEdgeEffects(Canvas canvas, int width, int verticalOffset)
Propagates
onDrawEdgeEffects(Canvas, int, int) to the tools. | ||||||||||
abstract boolean |
onFlingStop()
Propagates
onFlingStop() to the tools. | ||||||||||
abstract boolean |
onKeyUp(int keyCode, KeyEvent event)
Propagates
onKeyUp(int, KeyEvent) to the tools. | ||||||||||
abstract void |
onLayout(boolean changed, int l, int t, int r, int b)
Propagates
onLayout(boolean, int, int, int, int) 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)
Propagates
onMove(MotionEvent, MotionEvent, float, float) to the tools. | ||||||||||
abstract void |
onNightModeUpdated(boolean isNightMode)
Called when night mode has been updated.
| ||||||||||
abstract void |
onPageTurning(int old_page, int cur_page)
Propagates
onPageTurning(int, int) to the tools. | ||||||||||
abstract boolean |
onPointerDown(MotionEvent e)
Propagates
onPointerDown(MotionEvent) to the tools. | ||||||||||
abstract void |
onPostSingleTapConfirmed()
Propagates
onPostSingleTapConfirmed() to the tools. | ||||||||||
abstract void |
onPullEdgeEffects(int which_edge, float delta_distance)
Propagates
onPullEdgeEffects(int, float) to the tools. | ||||||||||
abstract void |
onReleaseEdgeEffects()
Propagates
onReleaseEdgeEffects() to the tools. | ||||||||||
abstract void |
onRenderingFinished()
Propagates
onRenderingFinished() to the tools. | ||||||||||
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 void |
onSetDoc()
Propagates
onSetDoc() to the tools. | ||||||||||
abstract boolean |
onShowPress(MotionEvent e)
Propagates
onShowPress(MotionEvent) to the tools. | ||||||||||
abstract boolean |
onSingleTapConfirmed(MotionEvent e)
Propagates
onSingleTapConfirmed(MotionEvent) to the tools. | ||||||||||
abstract boolean |
onSingleTapUp(MotionEvent e)
Propagates
onSingleTapUp(MotionEvent) to the tools. | ||||||||||
abstract boolean |
onUp(MotionEvent e, PDFViewCtrl.PriorEventMode priorEventMode)
Propagates
onUp(MotionEvent, PDFViewCtrl.PriorEventMode) to the tools. |
Gets what annotation type this tool can create
Gets the next tool mode.
Gets the tool mode.
Propagates onAnnotPainterUpdated(int, long, com.pdftron.pdf.CurvePainter)
to the tools.
Propagates onConfigurationChanged(Configuration)
to the tools.
Propagates onDocumentDownloadEvent(PDFViewCtrl.DownloadState, int, int, int, String)
to the tools.
Propagates onDoubleTap(MotionEvent)
to the tools.
Propagates onDoubleTapEnd(MotionEvent)
to the tools.
Propagates onDoubleTapEvent(MotionEvent)
to the tools.
Propagates onDoubleTapZoomAnimationBegin()
to the tools.
Propagates onDoubleTapZoomAnimationEnd()
to the tools.
Propagates onDraw(Canvas, Matrix)
to the tools.
Propagates onDrawEdgeEffects(Canvas, int, int)
to the tools.
Propagates onKeyUp(int, KeyEvent)
to the tools.
Propagates onLayout(boolean, int, int, int, int)
to the tools.
Propagates onLongPress(MotionEvent)
to the tools.
Propagates onMove(MotionEvent, MotionEvent, float, float)
to the tools.
Called when night mode has been updated.
Propagates onPageTurning(int, int)
to the tools.
Propagates onPointerDown(MotionEvent)
to the tools.
Propagates onPostSingleTapConfirmed()
to the tools.
Propagates onPullEdgeEffects(int, float)
to the tools.
Propagates onScaleBegin(float, float)
to the tools.
Propagates onScaleEnd(float, float)
to the tools.
Propagates onScrollChanged(int, int, int, int)
to the tools.
Propagates onShowPress(MotionEvent)
to the tools.
Propagates onSingleTapConfirmed(MotionEvent)
to the tools.
Propagates onSingleTapUp(MotionEvent)
to the tools.
Propagates onUp(MotionEvent, PDFViewCtrl.PriorEventMode)
to the tools.