public class

AnnotEditRectGroup

extends AnnotEdit
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.BaseTool
       ↳ com.pdftron.pdf.tools.AnnotEdit
         ↳ com.pdftron.pdf.tools.AnnotEditRectGroup

Class Overview

This class is for selecting a group of annotations

Summary

Nested Classes
enum AnnotEditRectGroup.SelectionMode  
[Expand]
Inherited Constants
From class com.pdftron.pdf.tools.AnnotEdit
From class com.pdftron.pdf.tools.BaseTool
From class com.pdftron.pdf.tools.Tool
[Expand]
Inherited Fields
From class com.pdftron.pdf.tools.Tool
Public Constructors
AnnotEditRectGroup(PDFViewCtrl ctrl)
Class constructor
AnnotEditRectGroup(PDFViewCtrl ctrl, AnnotEditRectGroup.SelectionMode selectionMode)
Class constructor
Public Methods
ToolManager.ToolModeBase getToolMode()
The overload implementation of getToolMode().
boolean hasAnnotSelected()
The overload implementation of hasAnnotSelected().
boolean onDown(MotionEvent e)
The overload implementation of onDown(MotionEvent).
void onDraw(Canvas canvas, Matrix tfm)
The overload implementation of onDraw(Canvas, Matrix).
boolean onMove(MotionEvent e1, MotionEvent e2, float x_dist, float y_dist)
The overload implementation of onMove(MotionEvent, MotionEvent, float, float).
void onPageTurning(int old_page, int cur_page)
The overload implementation of onPageTurning(int, int).
boolean onQuickMenuClicked(QuickMenuItem menuItem)
The overload implementation of onQuickMenuClicked(QuickMenuItem).
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).
void selectAnnot(Annot annot, int pageNum)
The overload implementation of selectAnnot(Annot, int).
void setSelectionMode(AnnotEditRectGroup.SelectionMode mode)
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.AnnotEdit
From class com.pdftron.pdf.tools.BaseTool
From class com.pdftron.pdf.tools.Tool
From class java.lang.Object
From interface android.text.TextWatcher
From interface com.pdftron.pdf.model.AnnotStyle.OnAnnotStyleChangeListener
From interface com.pdftron.pdf.tools.DialogAnnotNote.DialogAnnotNoteListener
From interface com.pdftron.pdf.tools.ToolManager.Tool
From interface com.pdftron.pdf.utils.InlineEditText.InlineEditTextListener

Public Constructors

public AnnotEditRectGroup (PDFViewCtrl ctrl)

Class constructor

public AnnotEditRectGroup (PDFViewCtrl ctrl, AnnotEditRectGroup.SelectionMode selectionMode)

Class constructor

Public Methods

public ToolManager.ToolModeBase getToolMode ()

The overload implementation of getToolMode().

Returns
  • the mode/identifier of this tool.

public boolean hasAnnotSelected ()

The overload implementation of hasAnnotSelected().

Returns
  • True if any annot is selected. Note that in AnnotEditRectGroup multiple annots can be selected while Tool#mAnnot is null

public boolean onDown (MotionEvent e)

The overload implementation of onDown(MotionEvent).

public void onDraw (Canvas canvas, Matrix tfm)

The overload implementation of onDraw(Canvas, Matrix).

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

The overload implementation of onMove(MotionEvent, MotionEvent, float, float).

public void onPageTurning (int old_page, int cur_page)

The overload implementation of onPageTurning(int, int).

public boolean onQuickMenuClicked (QuickMenuItem menuItem)

The overload implementation of onQuickMenuClicked(QuickMenuItem).

Parameters
menuItem The clicked menu item.
Returns
  • True if handled

public boolean onSingleTapConfirmed (MotionEvent e)

The overload implementation of onSingleTapConfirmed(MotionEvent).

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

The overload implementation of onUp(MotionEvent, PDFViewCtrl.PriorEventMode).

public void selectAnnot (Annot annot, int pageNum)

The overload implementation of selectAnnot(Annot, int).

Parameters
annot The annotaion
pageNum The page number where the annotaion is on

public void setSelectionMode (AnnotEditRectGroup.SelectionMode mode)