public class

ToolbarSwitcherItem

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.dialog.toolbarswitcher.model.ToolbarSwitcherItem

Summary

Fields
public final AnnotationToolbarBuilder builder
public boolean isSelected
Public Constructors
ToolbarSwitcherItem(AnnotationToolbarBuilder builder)
Public Methods
int getIcon()
String getTag()
List<ToolbarItem> getToolbarItems()
String getToolbarName(Context context)
boolean isVisible()
ToolbarSwitcherItem setSelected(boolean isSelected)
Sets whether this toolbar switcher item is selected.
ToolbarSwitcherItem setVisibility(boolean isVisible)
Sets whether this toolbar switcher item is visible.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public final AnnotationToolbarBuilder builder

public boolean isSelected

Public Constructors

public ToolbarSwitcherItem (AnnotationToolbarBuilder builder)

Public Methods

public int getIcon ()

public String getTag ()

public List<ToolbarItem> getToolbarItems ()

public String getToolbarName (Context context)

public boolean isVisible ()

Returns
  • Whether this toolbar switcher item is visible/

public ToolbarSwitcherItem setSelected (boolean isSelected)

Sets whether this toolbar switcher item is selected. Default false.

Parameters
isSelected whether the toolbar switcher item is selected
Returns
  • this ToolbarSwitcherItem instance

public ToolbarSwitcherItem setVisibility (boolean isVisible)

Sets whether this toolbar switcher item is visible. Default true.

Parameters
isVisible whether the toolbar switcher item is visible
Returns
  • this ToolbarSwitcherItem instance