public class

TabletAnnotationToolbarComponent

extends AnnotationToolbarComponent
java.lang.Object
   ↳ com.pdftron.pdf.widget.toolbar.component.AnnotationToolbarComponent
     ↳ com.pdftron.pdf.widget.toolbar.component.TabletAnnotationToolbarComponent

Class Overview

Tablet version of AnnotationToolbarComponent which contains a preset style section in the annotation toolbar.

Summary

[Expand]
Inherited Constants
From class com.pdftron.pdf.widget.toolbar.component.AnnotationToolbarComponent
Public Constructors
TabletAnnotationToolbarComponent(Fragment fragment, FragmentManager fragmentManager, AnnotationToolbarViewModel annotationToolbarViewModel, PresetBarViewModel presetBarViewModel, ToolManagerViewModel toolManagerViewModel, SignatureViewModel signatureViewModel, AnnotationToolbarView view, boolean tabletMode, HashSet<ToolbarButtonType> toolsToHidePresetBar, boolean hidePresetBar)
Public Methods
void closeEditToolbar()
Closes the edit toolbar
void setCompactMode(boolean compactMode)
In compact mode, the annotation toolbar will prepend toolbar switcher in front of scrollable tools.
void setTabletMode(boolean tabletMode)
[Expand]
Inherited Methods
From class com.pdftron.pdf.widget.toolbar.component.AnnotationToolbarComponent
From class java.lang.Object
From interface com.pdftron.pdf.tools.AdvancedShapeCreate.OnEditToolbarListener

Public Constructors

public TabletAnnotationToolbarComponent (Fragment fragment, FragmentManager fragmentManager, AnnotationToolbarViewModel annotationToolbarViewModel, PresetBarViewModel presetBarViewModel, ToolManagerViewModel toolManagerViewModel, SignatureViewModel signatureViewModel, AnnotationToolbarView view, boolean tabletMode, HashSet<ToolbarButtonType> toolsToHidePresetBar, boolean hidePresetBar)

Public Methods

public void closeEditToolbar ()

Closes the edit toolbar

public void setCompactMode (boolean compactMode)

In compact mode, the annotation toolbar will prepend toolbar switcher in front of scrollable tools. In non-compact mode, it is assumed that toolbar switcher is located somewhere else in the viewer

Parameters
compactMode true if in compact mode, false otherwise. Default to false.

public void setTabletMode (boolean tabletMode)