public class


extends Object
   ↳ com.pdftron.pdf.widget.bottombar.component.BottomBarComponent

Class Overview

Bottom bar UI Component that is in charge of handling the bottom bar logic and UI events.


Public Constructors
BottomBarComponent(Fragment fragment, ViewGroup parent)
Public Methods
void addOnMenuItemClickListener(Toolbar.OnMenuItemClickListener listener)
boolean hasVisibleItems()
void inflateWithBuilder(AnnotationToolbarBuilder builder)
void setItemAppearanceEnabled(int buttonId, boolean isAppearanceEnabled)
void setItemEnabled(boolean isEnabled, int buttonId)
void setItemIcon(int id, Drawable icon)
void setItemSelected(boolean isSelected, int buttonId)
void setItemVisibility(boolean isVisible, int buttonId)
void setShowBackground(int id, boolean showBackground)
Inherited Methods
From class java.lang.Object

Public Constructors

public BottomBarComponent (Fragment fragment, ViewGroup parent)

Public Methods

public void addOnMenuItemClickListener (Toolbar.OnMenuItemClickListener listener)

public boolean hasVisibleItems ()

public void inflateWithBuilder (AnnotationToolbarBuilder builder)

public void setItemAppearanceEnabled (int buttonId, boolean isAppearanceEnabled)

public void setItemEnabled (boolean isEnabled, int buttonId)

public void setItemIcon (int id, Drawable icon)

public void setItemSelected (boolean isSelected, int buttonId)

public void setItemVisibility (boolean isVisible, int buttonId)

public void setShowBackground (int id, boolean showBackground)