java.lang.Object |
↳ |
com.pdftron.pdf.widget.toolbar.component.view.AnnotationToolbarView |
Class Overview
Class that contains the views related to the new annotation toolbar,
and exposes necessary Annotation Toolbar related API.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
AnnotationToolbarView
(ViewGroup parent)
Public Methods
public
void
addOnButtonLongClickListener
(View.OnLongClickListener onLongClickListener)
public
void
addOnMenuItemClickListener
(Toolbar.OnMenuItemClickListener onMenuItemClickListener)
public
void
addToolbarActionsLeftOptionalContainer
(View view)
public
void
addToolbarActionsRightOptionalContainer
(View view)
public
void
addToolbarLeftOptionalContainer
(View view)
public
void
addToolbarOverlay
(View view)
public
void
clearOptionContainers
()
public
void
clearPreviousToolbarBuilder
()
public
void
clearToolbarOverlayView
()
public
void
deselectAllToolbarButtons
()
public
void
disableAllItems
()
public
Context
getContext
()
public
FrameLayout
getPresetContainer
()
public
void
hide
(boolean animate)
public
boolean
isShown
()
public
boolean
isVertical
()
public
void
scrollToToolButton
(int buttonId)
Attempts to scroll the scrollable tool region to the specified tool button if the button
is not visible.
Parameters
buttonId |
id of the button to scroll to.
|
public
void
selectToolbarButtonIfAvailable
(int buttonId)
public
void
setCompactMode
(boolean compactMode)
public
void
setEmptyToolText
(int emptyText)
public
void
setEmptyToolTextOnClickListener
(View.OnClickListener listener)
public
void
setEmptyToolTextVisible
(boolean visible)
public
void
setIconColor
(int buttonId, int iconColor)
public
void
setItemAppearanceEnabled
(int buttonId, boolean isAppearanceEnabled)
public
void
setItemEnabled
(int buttonId, boolean isEnabled)
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
setSelectedIconColor
(int buttonId, int iconColor)
public
void
setToolRegionVisible
(boolean visible)
public
void
setToolbarHeight
(int size)
public
void
setToolbarItemGravity
(int layoutGravity)
public
void
setToolbarSwitcherVisible
(boolean visible)
public
void
show
(boolean animate)
public
void
toggleToolbarButtons
(ToolbarItem toolbarItem)
public
void
updateAccentButton
(int buttonId, int color, int alpha)
public
void
updateTheme
()