void
|
addButtonClickListener(AnnotationToolbarComponent.AnnotationButtonClickListener onMenuItemClickListener)
Adds click listener for toolbar button clicks
|
void
|
addButtonLongClickListener(View.OnLongClickListener listener)
Adds long click listener for toolbar button
|
void
|
addOnPreBuildToolbarListener(AnnotationToolbarComponent.OnPreBuildToolbarListener listener)
Add listener to notify prior to building a new AnnotationToolbar.
|
void
|
addOnToolbarChangedListener(AnnotationToolbarComponent.OnToolbarChangedListener listener)
Add listener to notify when the toolbar changes.
|
void
|
addToolbarActionsLeftOptionalContainer(View view)
Adds a view to the left of the non-sticky tools in the annotation toolbar in the non-sticky button area.
|
void
|
addToolbarActionsRightOptionalContainer(View view)
Adds a view to the right of the non-sticky tools in the annotation toolbar in the non-sticky button area.
|
void
|
addToolbarLeftOptionalContainer(View view)
Adds a view to the left of the non-sticky tools in the annotation toolbar in the non-sticky button area.
|
void
|
addToolbarOverlay(View view)
Adds a view on top of the annotation toolbar in the non-sticky button area.
|
View
|
buildRedactionApplyButton()
|
void
|
clearOptionalToolbarContainer()
Removes all child views from the optional contains which incldues the left container
and overlay views.
|
void
|
clearState()
Clears annotation toolbar state and deselects any selected tools.
|
void
|
clearToolbarOverlayView()
Removes the annotation toolbar's overlay view.
|
void
|
closeEditToolbar()
Closes the edit toolbar
|
void
|
disableAllItems()
|
ActionToolbar
|
getToolbarView()
|
void
|
hide(boolean animated)
|
void
|
inflateWithBuilder(AnnotationToolbarBuilder builder)
|
boolean
|
isEditing()
|
void
|
rememberLastUsedTool(boolean lastUsedTool)
Whether toolbars should re-select the last used tool when leave and returning back to the toolbar.
|
void
|
removeButtonClickListener(AnnotationToolbarComponent.AnnotationButtonClickListener onMenuItemClickListener)
Removes click listener for toolbar button clicks
|
void
|
removeButtonLongClickListener(View.OnLongClickListener listener)
Removes long click listener for toolbar button
|
void
|
removeOnPreBuildToolbarListener(AnnotationToolbarComponent.OnPreBuildToolbarListener listener)
Remove listener that notifies prior to building a new AnnotationToolbar.
|
void
|
removeOnToolbarChangedListener(AnnotationToolbarComponent.OnToolbarChangedListener listener)
Remove listener that notifies when the toolbar changes.
|
void
|
selectToolbarButton(int buttonId)
Selects the toolbar button if available.
|
void
|
setCompactMode(boolean compactMode)
In compact mode, the annotation toolbar will prepend toolbar switcher in front of scrollable tools.
|
void
|
setEmptyToolText(int emptyText)
Sets the string resource for empty text view
|
void
|
setEmptyToolTextOnClickListener(View.OnClickListener listener)
Sets the event when click on the empty tool text view in the non-sticky button area.
|
void
|
setEmptyToolTextVisible(boolean visible)
Sets the visibility of the empty tool text view in the non-sticky button area.
|
void
|
setIconColor(int buttonId, int iconColor)
|
void
|
setItemAppearanceEnabled(int buttonId, boolean isAppearanceEnabled)
Sets whether a button appears disabled in the toolbar.
|
void
|
setItemEnabled(int buttonId, boolean isEnabled)
Sets whether a button is enabled in the toolbar.
|
void
|
setItemVisibility(int buttonId, boolean isVisible)
|
void
|
setNavigationIcon(int icon)
Used only in compact mode, sets the navigation icon for edit toolbar.
|
void
|
setNavigationIconProperty(int paddingLeft, int minWidth)
|
void
|
setNavigationIconVisible(boolean visible)
Used only in compact mode, sets the visibility of navigation icon for edit toolbar.
|
void
|
setSelectedIconColor(int buttonId, int iconColor)
|
void
|
setToolModeFilter(Set<ToolManager.ToolMode> disabledToolModes)
Defines tool modes that are used to filter out related tool buttons in the toolbar.
|
void
|
setToolRegionVisible(boolean visible)
Sets the visibility of the tool region in the non-sticky button area.
|
void
|
setToolbarButtonVisibility(ToolbarButtonType buttonType, boolean visibility)
Sets whether toolbar tool buttons should be visible in all toolbars
|
void
|
setToolbarHeight(int height)
|
void
|
setToolbarItemGravity(int layoutGravity)
Sets the layout gravity of toolbar items.
|
void
|
setToolbarSwitcherVisible(boolean visible)
Used only in compact mode, sets the visibility of toolbar switcher.
|
void
|
setVerticalLayout(ViewGroup parent, PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition position)
|
void
|
show(boolean animated)
|
void
|
showEditToolbar(ToolManager.ToolMode toolMode, Annot annot, int pageNum)
Show edit toolbar either for an existing annotation on a given page, or a brand new
annotation (i.e.
|
void
|
showEditToolbar(ToolManager.ToolMode toolMode, Annot annot, int pageNum, boolean keepAnnotatingAfterDismiss)
Show edit toolbar either for an existing annotation on a given page, or a brand new
annotation (i.e.
|
void
|
showUndoRedoPopup(View anchor)
|
void
|
slideIn()
|
void
|
slideOut()
|
void
|
updateToolbarState()
Force annotation toolbar to update state.
|