| java.lang.Object | ||
| ↳ | com.pdftron.pdf.tools.Tool | |
| ↳ | com.pdftron.pdf.tools.Pan | |
Pan tool implements the following functions:
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.Tool
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.Tool
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Pan(PDFViewCtrl ctrl)
Class constructor
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
enablePresetMode()
Allow tools created from quick menu to have a preset bar if possible.
| ||||||||||
| int |
getCreateAnnotType()
Gets what annotation type this tool can create
| ||||||||||
| ToolManager.ToolModeBase |
getToolMode()
The overload implementation of
getToolMode(). | ||||||||||
| void |
onCreate()
The overload implementation of
onCreate(). | ||||||||||
| boolean |
onDown(MotionEvent e)
The overload implementation of
onDown(MotionEvent). | ||||||||||
| void |
onDraw(Canvas canvas, Matrix tfm)
The overload implementation of
onDraw(Canvas, Matrix). | ||||||||||
| void |
onLayout(boolean changed, int l, int t, int r, int b)
The overload implementation of
onLayout(boolean, int, int, int, int). | ||||||||||
| boolean |
onLongPress(MotionEvent e)
The overload implementation of
onLongPress(MotionEvent). | ||||||||||
| boolean |
onMove(MotionEvent e1, MotionEvent e2, float x_dist, float y_dist)
The overload implementation of
onMove(MotionEvent, MotionEvent, float, float). | ||||||||||
| boolean |
onQuickMenuClicked(QuickMenuItem menuItem)
The overload implementation of
onQuickMenuClicked(QuickMenuItem). | ||||||||||
| boolean |
onScaleBegin(float x, float y)
The overload implementation of
onScaleBegin(float, float). | ||||||||||
| boolean |
onScaleEnd(float x, float y)
The overload implementation of
onScaleEnd(float, float). | ||||||||||
| 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). | ||||||||||
| boolean |
showMenu(RectF anchor_rect)
Shows the quick menu.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.Tool
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.tools.ToolManager.Tool
| |||||||||||
Allow tools created from quick menu to have a preset bar if possible.
Gets what annotation type this tool can create
The overload implementation of getToolMode().
The overload implementation of onDraw(Canvas, Matrix).
The overload implementation of onLayout(boolean, int, int, int, int).
The overload implementation of onMove(MotionEvent, MotionEvent, float, float).
The overload implementation of onQuickMenuClicked(QuickMenuItem).
| menuItem | The clicked menu item. |
|---|
The overload implementation of onScaleBegin(float, float).
The overload implementation of onScaleEnd(float, float).
The overload implementation of onSingleTapConfirmed(MotionEvent).
The overload implementation of onUp(MotionEvent, PDFViewCtrl.PriorEventMode).
Shows the quick menu.