public class

AnnotationToolbarView

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.widget.toolbar.component.view.AnnotationToolbarView

Class Overview

Class that contains the views related to the new annotation toolbar, and exposes necessary Annotation Toolbar related API.

Summary

Public Constructors
AnnotationToolbarView(ViewGroup parent)
Public Methods
void addOnButtonLongClickListener(View.OnLongClickListener onLongClickListener)
void addOnMenuItemClickListener(Toolbar.OnMenuItemClickListener onMenuItemClickListener)
void addToolbarActionsRightOptionalContainer(View view)
void addToolbarLeftOptionalContainer(View view)
void addToolbarOverlay(View view)
void clearOptionContainers()
void clearToolbarOverlayView()
Context getContext()
int getHeight()
FrameLayout getPresetContainer()
void hide(boolean animate)
void inflateWithBuilder(AnnotationToolbarBuilder builder)
boolean isShown()
void selectToolbarButtonIfAvailable(int buttonId)
void setCompactMode(boolean compactMode)
void setEmptyToolText(int emptyText)
void setEmptyToolTextOnClickListener(View.OnClickListener listener)
void setEmptyToolTextVisible(boolean visible)
void setItemEnabled(int buttonId, boolean isEnabled)
void setItemVisibility(int buttonId, boolean isVisible)
void setNavigationIcon(int icon)
void setNavigationIconProperty(int paddingLeft, int minWidth)
void setNavigationIconVisible(boolean visible)
void setToolRegionVisible(boolean visible)
void setToolbarHeight(int height)
void setToolbarItemGravity(int layoutGravity)
void show(boolean animate)
void toggleToolbarButtons(ToolbarItem toolbarItem)
void updateAccentButton(int buttonId, int color, int alpha)
void updateTheme()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AnnotationToolbarView (ViewGroup parent)

Public Methods

public void addOnButtonLongClickListener (View.OnLongClickListener onLongClickListener)

public void addOnMenuItemClickListener (Toolbar.OnMenuItemClickListener onMenuItemClickListener)

public void addToolbarActionsRightOptionalContainer (View view)

public void addToolbarLeftOptionalContainer (View view)

public void addToolbarOverlay (View view)

public void clearOptionContainers ()

public void clearToolbarOverlayView ()

public Context getContext ()

public int getHeight ()

public FrameLayout getPresetContainer ()

public void hide (boolean animate)

public void inflateWithBuilder (AnnotationToolbarBuilder builder)

public boolean isShown ()

public void selectToolbarButtonIfAvailable (int buttonId)

public void setCompactMode (boolean compactMode)

public void setEmptyToolText (int emptyText)

public void setEmptyToolTextOnClickListener (View.OnClickListener listener)

public void setEmptyToolTextVisible (boolean visible)

public void setItemEnabled (int buttonId, boolean isEnabled)

public void setItemVisibility (int buttonId, boolean isVisible)

public void setNavigationIcon (int icon)

public void setNavigationIconProperty (int paddingLeft, int minWidth)

public void setNavigationIconVisible (boolean visible)

public void setToolRegionVisible (boolean visible)

public void setToolbarHeight (int height)

public void setToolbarItemGravity (int layoutGravity)

public void show (boolean animate)

public void toggleToolbarButtons (ToolbarItem toolbarItem)

public void updateAccentButton (int buttonId, int color, int alpha)

public void updateTheme ()