public class

ActionToolbar

extends FrameLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ com.pdftron.pdf.widget.toolbar.component.view.ActionToolbar
Known Direct Subclasses

Summary

[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
ActionToolbar(Context context)
ActionToolbar(Context context, AnnotationToolbarTheme annotToolbarTheme)
ActionToolbar(Context context, AttributeSet attrs)
ActionToolbar(Context context, AttributeSet attrs, int defStyleAttr)
ActionToolbar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Public Methods
void addOnButtonLongClickListener(View.OnLongClickListener listener)
void addOnMenuItemClickListener(Toolbar.OnMenuItemClickListener listener)
void addToolbarActionsRightOptionalContainer(View view)
void addToolbarLeftOptionalContainer(View view)
void addToolbarOverlay(View view)
void clearOptionalContainers()
void clearToolbarOverlayView()
void deselectAllTools()
FrameLayout getPresetContainer()
boolean hasVisibleItems()
void inflateWithBuilder(AnnotationToolbarBuilder builder)
void selectToolbarButtonIfAvailable(int buttonId)
Click button if it exists, otherwise do nothing
void setCompactMode(boolean compactMode)
void setEmptyToolText(int emptyText)
void setEmptyToolTextOnClickListener(View.OnClickListener listener)
void setEmptyToolTextVisible(boolean visible)
void setItemEnabled(int buttonId, boolean isEnabled)
void setItemSelected(int buttonId, boolean isSelected)
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 setToolbarItemGravity(int layoutGravity)
void toggleToolbarButtons(int buttonId)
Click button if it exists, otherwise deselect all tools.
void updateAccentButton(int buttonId, int color, int alpha)
[Expand]
Inherited Methods
From class android.widget.FrameLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public ActionToolbar (Context context)

public ActionToolbar (Context context, AnnotationToolbarTheme annotToolbarTheme)

public ActionToolbar (Context context, AttributeSet attrs)

public ActionToolbar (Context context, AttributeSet attrs, int defStyleAttr)

public ActionToolbar (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Public Methods

public void addOnButtonLongClickListener (View.OnLongClickListener listener)

public void addOnMenuItemClickListener (Toolbar.OnMenuItemClickListener listener)

public void addToolbarActionsRightOptionalContainer (View view)

public void addToolbarLeftOptionalContainer (View view)

public void addToolbarOverlay (View view)

public void clearOptionalContainers ()

public void clearToolbarOverlayView ()

public void deselectAllTools ()

public FrameLayout getPresetContainer ()

public boolean hasVisibleItems ()

public void inflateWithBuilder (AnnotationToolbarBuilder builder)

public void selectToolbarButtonIfAvailable (int buttonId)

Click button if it exists, otherwise do nothing

Parameters
buttonId of the toolbar button

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 setItemSelected (int buttonId, boolean isSelected)

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 setToolbarItemGravity (int layoutGravity)

public void toggleToolbarButtons (int buttonId)

Click button if it exists, otherwise deselect all tools.

Parameters
buttonId of the toolbar button

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