java.lang.Object | ||
↳ | com.pdftron.pdf.widget.base.BaseObservable | |
↳ | com.pdftron.pdf.dialog.toolbarswitcher.model.ToolbarSwitcherState |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ToolbarSwitcherState(List<ToolbarSwitcherItem> toolbars) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ToolbarSwitcherItem | get(int index) | ||||||||||
ToolbarSwitcherItem | getSelectedToolbar() | ||||||||||
String |
getToolbarTagWithButtonId(int buttonId)
Returns the toolbar that contains the toolbar button with the given id.
| ||||||||||
boolean | hasMultipleToolbars() | ||||||||||
void | selectToolbar(String toolbarId) | ||||||||||
void | setToolbarVisibility(String toolbarId, boolean isVisible) | ||||||||||
int | size() | ||||||||||
boolean | updateToolbarSwitcherItem(ToolbarSwitcherItem item) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns the toolbar that contains the toolbar button with the given id. If the current toolbar contains the toolbar button, then return the tag for the current toolbar. Otherwise, search all toolbars in order and returns the first toolbar that contains the button.
buttonId | unique identifier for the toolbar button to look for |
---|