public class

CollabViewerTabFragment2

extends PdfViewCtrlTabFragment2
java.lang.Object
   ↳ Fragment
     ↳ com.pdftron.pdf.controls.PdfViewCtrlTabBaseFragment
       ↳ com.pdftron.pdf.controls.PdfViewCtrlTabFragment2
         ↳ com.pdftron.collab.ui.viewer.CollabViewerTabFragment2

Class Overview

A PdfViewCtrlTabFragment2 that has real-time annotation collaboration functionality. Implements a bottom sheet reply fragment that allows for real-time comments on annotations

Summary

Nested Classes
interface CollabViewerTabFragment2.CollabTabListener  
Constants
String BUNDLE_REPLY_THEME
[Expand]
Inherited Constants
From class com.pdftron.pdf.controls.PdfViewCtrlTabBaseFragment
Public Constructors
CollabViewerTabFragment2()
Public Methods
void handleOnlineShare()
Handles sharing.
boolean isTabReadOnly()
Checks if the tab is ready only.
void onCreate(Bundle savedInstanceState)
The overloaded implementation of Fragment#onCreate(Bundle).
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
The overloaded implementation of Fragment#onCreateView(LayoutInflater, ViewGroup, Bundle).
void onDestroyView()
The overloaded implementation of Fragment#onDestroyView().
void onDocumentLoaded()
Handles terminating document load.
boolean onQuickMenuClicked(QuickMenuItem menuItem)
The overloaded implementation of onQuickMenuClicked(QuickMenuItem).
boolean onShowQuickMenu(QuickMenu quickMenu, Annot annot)
Called when quick menu is about to show.
boolean onSingleTapConfirmed(MotionEvent e)
The overloaded implementation of onSingleTapConfirmed(MotionEvent).
void setOpenAnnotationListListener(OpenAnnotationListListener listener)
Set listener for opening annotation list.
[Expand]
Inherited Methods
From class com.pdftron.pdf.controls.PdfViewCtrlTabFragment2
From class com.pdftron.pdf.controls.PdfViewCtrlTabBaseFragment
From class java.lang.Object
From interface com.pdftron.pdf.PDFViewCtrl.DocumentDownloadListener
From interface com.pdftron.pdf.PDFViewCtrl.DocumentLoadListener
From interface com.pdftron.pdf.PDFViewCtrl.PageChangeListener
From interface com.pdftron.pdf.PDFViewCtrl.RenderingListener
From interface com.pdftron.pdf.PDFViewCtrl.UniversalDocumentConversionListener
From interface com.pdftron.pdf.PDFViewCtrl.UniversalDocumentProgressIndicatorListener
From interface com.pdftron.pdf.controls.ReflowControl.OnReflowTapListener
From interface com.pdftron.pdf.dialog.PortfolioDialogFragment.PortfolioDialogFragmentListener
From interface com.pdftron.pdf.tools.ToolManager.ActionGoBackListener
From interface com.pdftron.pdf.tools.ToolManager.AdvancedAnnotationListener
From interface com.pdftron.pdf.tools.ToolManager.AnnotationModificationListener
From interface com.pdftron.pdf.tools.ToolManager.BasicAnnotationListener
From interface com.pdftron.pdf.tools.ToolManager.FileAttachmentAnnotationListener
From interface com.pdftron.pdf.tools.ToolManager.FullSaveListener
From interface com.pdftron.pdf.tools.ToolManager.OnGenericMotionEventListener
From interface com.pdftron.pdf.tools.ToolManager.PdfDocModificationListener
From interface com.pdftron.pdf.tools.ToolManager.PdfTextModificationListener
From interface com.pdftron.pdf.tools.ToolManager.PreToolManagerListener
From interface com.pdftron.pdf.tools.ToolManager.QuickMenuListener
From interface com.pdftron.pdf.tools.ToolManager.ToolChangedListener
From interface com.pdftron.pdf.widget.seekbar.DocumentSlider.OnDocumentSliderTrackingListener

Constants

public static final String BUNDLE_REPLY_THEME

Constant Value: "bundle_tab_reply_style"

Public Constructors

public CollabViewerTabFragment2 ()

Public Methods

public void handleOnlineShare ()

Handles sharing.

public boolean isTabReadOnly ()

Checks if the tab is ready only.

Returns
  • True if the tab is read only

public void onCreate (Bundle savedInstanceState)

The overloaded implementation of Fragment#onCreate(Bundle).

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

The overloaded implementation of Fragment#onCreateView(LayoutInflater, ViewGroup, Bundle).

public void onDestroyView ()

The overloaded implementation of Fragment#onDestroyView().

public void onDocumentLoaded ()

Handles terminating document load.

public boolean onQuickMenuClicked (QuickMenuItem menuItem)

The overloaded implementation of onQuickMenuClicked(QuickMenuItem).

Parameters
menuItem The quick menu item
Returns
  • True if handled

public boolean onShowQuickMenu (QuickMenu quickMenu, Annot annot)

Called when quick menu is about to show.

Parameters
quickMenu the quick menu that is about to show
annot the selected annot, null if no annot is selected
Returns
  • true if quick menu should not show

public boolean onSingleTapConfirmed (MotionEvent e)

The overloaded implementation of onSingleTapConfirmed(MotionEvent).

public void setOpenAnnotationListListener (OpenAnnotationListListener listener)

Set listener for opening annotation list. Should be implemented by CollabViewerTabHostFragment

Parameters
listener with callbacks for opening the annotation list