java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.pdftron.pdf.widget.toolbar.builder.ToolbarButtonType |
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
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
IMPORTANT: NAMES OF THESE ENUMS MUST NOT BE CHANGED