public class

TextFieldCreate

extends RectCreate
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.SimpleShapeCreate
       ↳ com.pdftron.pdf.tools.RectCreate
         ↳ com.pdftron.pdf.tools.TextFieldCreate

Class Overview

This class is for creating multiline text field

Summary

[Expand]
Inherited Constants
From class com.pdftron.pdf.tools.Tool
[Expand]
Inherited Fields
From class com.pdftron.pdf.tools.SimpleShapeCreate
From class com.pdftron.pdf.tools.Tool
Public Constructors
TextFieldCreate(PDFViewCtrl ctrl)
Class constructor
TextFieldCreate(PDFViewCtrl ctrl, boolean isMultiline, int justification)
Class constructor
Public Methods
int getCreateAnnotType()
Gets what annotation type this tool can create
ToolManager.ToolModeBase getToolMode()
The overload implementation of getToolMode().
Protected Methods
Annot createMarkup(PDFDoc doc, Rect bbox)
The overload implementation of createMarkup(PDFDoc, Rect).
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.RectCreate
From class com.pdftron.pdf.tools.SimpleShapeCreate
From class com.pdftron.pdf.tools.Tool
From class java.lang.Object
From interface com.pdftron.pdf.tools.ToolManager.Tool

Public Constructors

public TextFieldCreate (PDFViewCtrl ctrl)

Class constructor

public TextFieldCreate (PDFViewCtrl ctrl, boolean isMultiline, int justification)

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.

Protected Methods

protected Annot createMarkup (PDFDoc doc, Rect bbox)

The overload implementation of createMarkup(PDFDoc, Rect).

Parameters
doc PDF Document
bbox bounding box
Returns
  • Markup annotation
Throws
PDFNetException