public class

BottomBarBuilder

extends Object
implements Parcelable
java.lang.Object
   ↳ com.pdftron.pdf.widget.bottombar.builder.BottomBarBuilder

Class Overview

Builder class used to create a custom bottom bar. Used to add custom buttons to the bottom bar.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<BottomBarBuilder> CREATOR
Public Methods
BottomBarBuilder addCustomButton(int title, int icon, int buttonId)
Add a selectable sticky button to the annotation toolbar.
int describeContents()
AnnotationToolbarBuilder getBuilder()
static BottomBarBuilder withTag(String tag)
The tag that will be used to reference the toolbar.
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<BottomBarBuilder> CREATOR

Public Methods

public BottomBarBuilder addCustomButton (int title, int icon, int buttonId)

Add a selectable sticky button to the annotation toolbar.

Parameters
title of the button that will be shown when long pressed.
icon of the button that will be shown in the toolbar
buttonId of the button, that is used to reference key press event. All buttons in a single toolbar must have unique menu ids
Returns

public int describeContents ()

public AnnotationToolbarBuilder getBuilder ()

public static BottomBarBuilder withTag (String tag)

The tag that will be used to reference the toolbar.

Parameters
tag Identifier used to reference the toolbar.
Returns

public void writeToParcel (Parcel dest, int flags)