public class

TextLinkCreate

extends TextMarkupCreate
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.BaseTool
       ↳ com.pdftron.pdf.tools.TextMarkupCreate
         ↳ com.pdftron.pdf.tools.TextLinkCreate

Class Overview

This tool is for creating link annotation by selected text

Summary

[Expand]
Inherited Constants
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
TextLinkCreate(PDFViewCtrl ctrl)
Class constructor
Public Methods
int getCreateAnnotType()
Gets what annotation type this tool can create
ToolManager.ToolModeBase getToolMode()
The overload implementation of getToolMode().
boolean onDown(MotionEvent e)
The overload implementation of onDown(MotionEvent).
boolean onQuickMenuClicked(QuickMenuItem menuItem)
When quick menu clicked, creates text markup annotation
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.TextMarkupCreate
From class com.pdftron.pdf.tools.BaseTool
From class com.pdftron.pdf.tools.Tool
From class java.lang.Object
From interface com.pdftron.pdf.tools.ToolManager.Tool

Public Constructors

public TextLinkCreate (PDFViewCtrl ctrl)

Class constructor

Public Methods

public int getCreateAnnotType ()

Gets what annotation type this tool can create

Returns
  • annot type for annotation creation tool, or unknown for non-creation tool.

public ToolManager.ToolModeBase getToolMode ()

The overload implementation of getToolMode().

Returns
  • the mode/identifier of this tool.

public boolean onDown (MotionEvent e)

The overload implementation of onDown(MotionEvent).

public boolean onQuickMenuClicked (QuickMenuItem menuItem)

When quick menu clicked, creates text markup annotation

Parameters
menuItem The clicked menu item.
Returns
  • true if handled, else otherwise