public static final enum

ToolManager.ToolMode

extends Enum<E extends Enum<E>>
implements ToolManager.ToolModeBase
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pdftron.pdf.tools.ToolManager.ToolMode

Class Overview

Tool modes

Summary

Enum Values
ToolManager.ToolMode  ANNOT_EDIT  Identifier of the Annotation Edit tool. 
ToolManager.ToolMode  ANNOT_EDIT_ADVANCED_SHAPE  Identifier of the editing tool for polyline/polygon/cloud tool. 
ToolManager.ToolMode  ANNOT_EDIT_LINE  Identifier of the Annotation Edit for Line/Arrow tool. 
ToolManager.ToolMode  ANNOT_EDIT_RECT_GROUP  Identifier of the multi select annotation edit tool (Select annots by draw a rectangle). 
ToolManager.ToolMode  ANNOT_EDIT_TEXT_MARKUP  Identifier of the Annotation Edit for text markup tool. 
ToolManager.ToolMode  ARROW_CREATE  Identifier of the Arrow tool. 
ToolManager.ToolMode  CALLOUT_CREATE  Identifier of the Callout tool  
ToolManager.ToolMode  CLOUD_CREATE  Identifier of the polygon cloud tool. 
ToolManager.ToolMode  DIGITAL_SIGNATURE  Identifier of the Digital Signature tool. 
ToolManager.ToolMode  FILE_ATTACHMENT_CREATE  Identifier of the FileAttachment tool  
ToolManager.ToolMode  FORM_CHECKBOX_CREATE  Identifier of the form checkbox tool. 
ToolManager.ToolMode  FORM_FILL  Identifier of the Form Filling too. 
ToolManager.ToolMode  FORM_SIGNATURE_CREATE  Identifier of the Signature form field tool. 
ToolManager.ToolMode  FORM_TEXT_FIELD_CREATE  Identifier of the form field text tool. 
ToolManager.ToolMode  FREE_HIGHLIGHTER  Identifier of the free highlighter tool (Ink in blend mode). 
ToolManager.ToolMode  INK_CREATE  Identifier of the Ink tool. 
ToolManager.ToolMode  INK_ERASER  Identifier of the Eraser tool. 
ToolManager.ToolMode  LINE_CREATE  Identifier of the Line tool. 
ToolManager.ToolMode  LINK_ACTION  Identifier of the Link tool. 
ToolManager.ToolMode  OVAL_CREATE  Identifier of the Oval/Ellipse tool  
ToolManager.ToolMode  PAN  Identifier of the Pan tool. 
ToolManager.ToolMode  POLYGON_CREATE  Identifier of the polygon tool. 
ToolManager.ToolMode  POLYLINE_CREATE  Identifier of the polygon tool. 
ToolManager.ToolMode  RECT_CREATE  Identifier of the Rectangle tool. 
ToolManager.ToolMode  RECT_LINK  Identifier of the Stamper tool. 
ToolManager.ToolMode  RICH_MEDIA  Identifier of the Rich Media tool. 
ToolManager.ToolMode  RUBBER_STAMPER  Identifier of the Rubber Stamper tool. 
ToolManager.ToolMode  RULER_CREATE  Identifier of the ruler tool. 
ToolManager.ToolMode  SIGNATURE  Identifier of the (floating) Signature tool. 
ToolManager.ToolMode  SOUND_CREATE  Identifier of the Sound tool  
ToolManager.ToolMode  STAMPER  Identifier of the Image Stamper tool. 
ToolManager.ToolMode  TEXT_ANNOT_CREATE  Identifier of the Note tool. 
ToolManager.ToolMode  TEXT_CREATE  Identifier of the Text tool. 
ToolManager.ToolMode  TEXT_HIGHLIGHT  Identifier of the Text Highlight tool. 
ToolManager.ToolMode  TEXT_HIGHLIGHTER  Identifier of the TextHighlighter tool. 
ToolManager.ToolMode  TEXT_LINK_CREATE  Identifier of the Text Link tool. 
ToolManager.ToolMode  TEXT_REDACTION  Identifier of the text redaction tool. 
ToolManager.ToolMode  TEXT_SELECT  Identifier of the Text Selection tool. 
ToolManager.ToolMode  TEXT_SQUIGGLY  Identifier of the Text Squiggly tool. 
ToolManager.ToolMode  TEXT_STRIKEOUT  Identifier of the Text Strikeout tool. 
ToolManager.ToolMode  TEXT_UNDERLINE  Identifier of the Text Underline tool. 
Public Methods
static ToolManager.ToolModeBase addNewMode(int annotType)
Add a new creator tool mode
static ToolManager.ToolModeBase addNewMode()
Add a new tool mode
int getValue()
Gets value of this tool mode
static ToolManager.ToolModeBase toolModeFor(int toolMode)
Gets tool mode based on tool mode value
static ToolManager.ToolMode valueOf(String name)
final static ToolMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface com.pdftron.pdf.tools.ToolManager.ToolModeBase
From interface java.lang.Comparable

Enum Values

public static final ToolManager.ToolMode ANNOT_EDIT

Identifier of the Annotation Edit tool.

public static final ToolManager.ToolMode ANNOT_EDIT_ADVANCED_SHAPE

Identifier of the editing tool for polyline/polygon/cloud tool.

public static final ToolManager.ToolMode ANNOT_EDIT_LINE

Identifier of the Annotation Edit for Line/Arrow tool.

public static final ToolManager.ToolMode ANNOT_EDIT_RECT_GROUP

Identifier of the multi select annotation edit tool (Select annots by draw a rectangle).

public static final ToolManager.ToolMode ANNOT_EDIT_TEXT_MARKUP

Identifier of the Annotation Edit for text markup tool.

public static final ToolManager.ToolMode ARROW_CREATE

Identifier of the Arrow tool.

public static final ToolManager.ToolMode CALLOUT_CREATE

Identifier of the Callout tool

public static final ToolManager.ToolMode CLOUD_CREATE

Identifier of the polygon cloud tool.

public static final ToolManager.ToolMode DIGITAL_SIGNATURE

Identifier of the Digital Signature tool.

public static final ToolManager.ToolMode FILE_ATTACHMENT_CREATE

Identifier of the FileAttachment tool

public static final ToolManager.ToolMode FORM_CHECKBOX_CREATE

Identifier of the form checkbox tool.

public static final ToolManager.ToolMode FORM_FILL

Identifier of the Form Filling too.

public static final ToolManager.ToolMode FORM_SIGNATURE_CREATE

Identifier of the Signature form field tool.

public static final ToolManager.ToolMode FORM_TEXT_FIELD_CREATE

Identifier of the form field text tool.

public static final ToolManager.ToolMode FREE_HIGHLIGHTER

Identifier of the free highlighter tool (Ink in blend mode).

public static final ToolManager.ToolMode INK_CREATE

Identifier of the Ink tool.

public static final ToolManager.ToolMode INK_ERASER

Identifier of the Eraser tool.

public static final ToolManager.ToolMode LINE_CREATE

Identifier of the Line tool.

public static final ToolManager.ToolMode LINK_ACTION

Identifier of the Link tool.

public static final ToolManager.ToolMode OVAL_CREATE

Identifier of the Oval/Ellipse tool

public static final ToolManager.ToolMode PAN

Identifier of the Pan tool.

public static final ToolManager.ToolMode POLYGON_CREATE

Identifier of the polygon tool.

public static final ToolManager.ToolMode POLYLINE_CREATE

Identifier of the polygon tool.

public static final ToolManager.ToolMode RECT_CREATE

Identifier of the Rectangle tool.

public static final ToolManager.ToolMode RECT_LINK

Identifier of the Stamper tool.

public static final ToolManager.ToolMode RICH_MEDIA

Identifier of the Rich Media tool.

public static final ToolManager.ToolMode RUBBER_STAMPER

Identifier of the Rubber Stamper tool.

public static final ToolManager.ToolMode RULER_CREATE

Identifier of the ruler tool.

public static final ToolManager.ToolMode SIGNATURE

Identifier of the (floating) Signature tool.

public static final ToolManager.ToolMode SOUND_CREATE

Identifier of the Sound tool

public static final ToolManager.ToolMode STAMPER

Identifier of the Image Stamper tool.

public static final ToolManager.ToolMode TEXT_ANNOT_CREATE

Identifier of the Note tool.

public static final ToolManager.ToolMode TEXT_CREATE

Identifier of the Text tool.

public static final ToolManager.ToolMode TEXT_HIGHLIGHT

Identifier of the Text Highlight tool.

public static final ToolManager.ToolMode TEXT_HIGHLIGHTER

Identifier of the TextHighlighter tool.

public static final ToolManager.ToolMode TEXT_LINK_CREATE

Identifier of the Text Link tool.

public static final ToolManager.ToolMode TEXT_REDACTION

Identifier of the text redaction tool.

public static final ToolManager.ToolMode TEXT_SELECT

Identifier of the Text Selection tool.

public static final ToolManager.ToolMode TEXT_SQUIGGLY

Identifier of the Text Squiggly tool.

public static final ToolManager.ToolMode TEXT_STRIKEOUT

Identifier of the Text Strikeout tool.

public static final ToolManager.ToolMode TEXT_UNDERLINE

Identifier of the Text Underline tool.

Public Methods

public static ToolManager.ToolModeBase addNewMode (int annotType)

Add a new creator tool mode

Parameters
annotType annotation type that this tool creates
Returns
  • new tool mode

public static ToolManager.ToolModeBase addNewMode ()

Add a new tool mode

Returns
  • new tool mode

public int getValue ()

Gets value of this tool mode

Returns
  • value

public static ToolManager.ToolModeBase toolModeFor (int toolMode)

Gets tool mode based on tool mode value

Parameters
toolMode tool mode value
Returns
  • tool mode

public static ToolManager.ToolMode valueOf (String name)

public static final ToolMode[] values ()