public class

TextFieldCreate

extends RectCreate
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.BaseTool
       ↳ com.pdftron.pdf.tools.SimpleShapeCreate
         ↳ com.pdftron.pdf.tools.RectCreate
           ↳ com.pdftron.pdf.tools.TextFieldCreate
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

This class is for creating multiline text field

Summary

Constants
String BACKGROUND_ALPHA
[Expand]
Inherited Constants
From class com.pdftron.pdf.tools.SimpleShapeCreate
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
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().
void initTextField()
boolean onDown(MotionEvent e)
The overload implementation of onDown(MotionEvent).
boolean onUp(MotionEvent e, PDFViewCtrl.PriorEventMode priorEventMode)
The overload implementation of onUp(MotionEvent, PDFViewCtrl.PriorEventMode).
void setupAnnotProperty(AnnotStyle annotStyle)
Setup annotation properties.
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.RectCreate
From class com.pdftron.pdf.tools.SimpleShapeCreate
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

Constants

public static final String BACKGROUND_ALPHA

Constant Value: "BG_ALPHA"

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.

public void initTextField ()

public boolean onDown (MotionEvent e)

The overload implementation of onDown(MotionEvent).

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

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

public void setupAnnotProperty (AnnotStyle annotStyle)

Setup annotation properties.