public final enum

ToolbarButtonType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pdftron.pdf.widget.toolbar.builder.ToolbarButtonType

Class Overview

Default toolbar items available in the annotation Toolbars. Only button types defined here and in DefaultToolbars will be customizable in the Favorite Toolbar. To add a new button mode:

1. Create a new enum. 2. Create a unique toolbar item id. This id is used to create a key for storing annotation style presets, and used as a unique identifier for the enum. 3. Specify toolbar item title. 4. Specify toolbar item icon. 5. If it's a Tool, add to ToolModeMapper. 6. Then implement functionality to handle the button in AnnotationToolbarComponent or in PdfViewCtrlTabHostFragment2

IMPORTANT: NAMES OF THESE ENUMS MUST NOT BE CHANGED

Summary

Enum Values
ToolbarButtonType  ADD_PAGE   
ToolbarButtonType  AREA   
ToolbarButtonType  ARROW   
ToolbarButtonType  ATTACHMENT   
ToolbarButtonType  CALLOUT   
ToolbarButtonType  CHECKBOX   
ToolbarButtonType  CHECKMARK   
ToolbarButtonType  CIRCLE   
ToolbarButtonType  COMBO_BOX   
ToolbarButtonType  CROSS   
ToolbarButtonType  CUSTOM_CHECKABLE   
ToolbarButtonType  CUSTOM_UNCHECKABLE   
ToolbarButtonType  DATE   
ToolbarButtonType  DOT   
ToolbarButtonType  EDIT_TOOLBAR   
ToolbarButtonType  ERASER   
ToolbarButtonType  FREE_HIGHLIGHT   
ToolbarButtonType  FREE_TEXT   
ToolbarButtonType  FREE_TEXT_SPACING   
ToolbarButtonType  IMAGE   
ToolbarButtonType  INK   
ToolbarButtonType  LASSO_SELECT   
ToolbarButtonType  LINE   
ToolbarButtonType  LINK   
ToolbarButtonType  LIST_BOX   
ToolbarButtonType  MULTI_SELECT   
ToolbarButtonType  NAVIGATION   
ToolbarButtonType  PAGE_REDACTION   
ToolbarButtonType  PAN   
ToolbarButtonType  PERIMETER   
ToolbarButtonType  POLYGON   
ToolbarButtonType  POLYLINE   
ToolbarButtonType  POLY_CLOUD   
ToolbarButtonType  RADIO_BUTTON   
ToolbarButtonType  RECT_AREA   
ToolbarButtonType  RECT_REDACTION   
ToolbarButtonType  REDO   
ToolbarButtonType  RULER   
ToolbarButtonType  SEARCH_REDACTION   
ToolbarButtonType  SIGNATURE   
ToolbarButtonType  SIGNATURE_FIELD   
ToolbarButtonType  SMART_PEN   
ToolbarButtonType  SOUND   
ToolbarButtonType  SQUARE   
ToolbarButtonType  STAMP   
ToolbarButtonType  STICKY_NOTE  IMPORTANT: NAMES OF THESE ENUMS MUST NOT BE CHANGED  
ToolbarButtonType  TEXT_FIELD   
ToolbarButtonType  TEXT_HIGHLIGHT   
ToolbarButtonType  TEXT_REDACTION   
ToolbarButtonType  TEXT_SQUIGGLY   
ToolbarButtonType  TEXT_STRIKEOUT   
ToolbarButtonType  TEXT_UNDERLINE   
ToolbarButtonType  UNDO   
Fields
public final int icon
public final boolean isCheckable
public final int title
Public Methods
int getValue()
static ToolbarButtonType valueOf(String name)
static ToolbarButtonType valueOf(int id)
final static ToolbarButtonType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ToolbarButtonType ADD_PAGE

public static final ToolbarButtonType AREA

public static final ToolbarButtonType ARROW

public static final ToolbarButtonType ATTACHMENT

public static final ToolbarButtonType CALLOUT

public static final ToolbarButtonType CHECKBOX

public static final ToolbarButtonType CHECKMARK

public static final ToolbarButtonType CIRCLE

public static final ToolbarButtonType COMBO_BOX

public static final ToolbarButtonType CROSS

public static final ToolbarButtonType CUSTOM_CHECKABLE

public static final ToolbarButtonType CUSTOM_UNCHECKABLE

public static final ToolbarButtonType DATE

public static final ToolbarButtonType DOT

public static final ToolbarButtonType EDIT_TOOLBAR

public static final ToolbarButtonType ERASER

public static final ToolbarButtonType FREE_HIGHLIGHT

public static final ToolbarButtonType FREE_TEXT

public static final ToolbarButtonType FREE_TEXT_SPACING

public static final ToolbarButtonType IMAGE

public static final ToolbarButtonType INK

public static final ToolbarButtonType LASSO_SELECT

public static final ToolbarButtonType LINE

public static final ToolbarButtonType LINK

public static final ToolbarButtonType LIST_BOX

public static final ToolbarButtonType MULTI_SELECT

public static final ToolbarButtonType NAVIGATION

public static final ToolbarButtonType PAGE_REDACTION

public static final ToolbarButtonType PAN

public static final ToolbarButtonType PERIMETER

public static final ToolbarButtonType POLYGON

public static final ToolbarButtonType POLYLINE

public static final ToolbarButtonType POLY_CLOUD

public static final ToolbarButtonType RADIO_BUTTON

public static final ToolbarButtonType RECT_AREA

public static final ToolbarButtonType RECT_REDACTION

public static final ToolbarButtonType REDO

public static final ToolbarButtonType RULER

public static final ToolbarButtonType SEARCH_REDACTION

public static final ToolbarButtonType SIGNATURE

public static final ToolbarButtonType SIGNATURE_FIELD

public static final ToolbarButtonType SMART_PEN

public static final ToolbarButtonType SOUND

public static final ToolbarButtonType SQUARE

public static final ToolbarButtonType STAMP

public static final ToolbarButtonType STICKY_NOTE

IMPORTANT: NAMES OF THESE ENUMS MUST NOT BE CHANGED

public static final ToolbarButtonType TEXT_FIELD

public static final ToolbarButtonType TEXT_HIGHLIGHT

public static final ToolbarButtonType TEXT_REDACTION

public static final ToolbarButtonType TEXT_SQUIGGLY

public static final ToolbarButtonType TEXT_STRIKEOUT

public static final ToolbarButtonType TEXT_UNDERLINE

public static final ToolbarButtonType UNDO

Fields

public final int icon

public final boolean isCheckable

public final int title

Public Methods

public int getValue ()

public static ToolbarButtonType valueOf (String name)

public static ToolbarButtonType valueOf (int id)

public static final ToolbarButtonType[] values ()