public class

CollabViewerTabHostFragment2

extends PdfViewCtrlTabHostFragment2
implements CollabViewerTabFragment2.CollabTabListener OpenAnnotationListListener
java.lang.Object
   ↳ Fragment
     ↳ com.pdftron.pdf.controls.PdfViewCtrlTabHostBaseFragment
       ↳ com.pdftron.pdf.controls.PdfViewCtrlTabHostFragment2
         ↳ com.pdftron.collab.ui.viewer.CollabViewerTabHostFragment2

Class Overview

A PdfViewCtrlTabHostFragment2 that allows for real-time annotation collaboration. Used in conjunction with CollabViewerTabFragment2.

This fragment also provides a customized annotation list fragment that shows additional information on annotation comments.

Summary

Nested Classes
interface CollabViewerTabHostFragment2.CollabTabHostListener  
[Expand]
Inherited Constants
From class com.pdftron.pdf.controls.PdfViewCtrlTabHostBaseFragment
Public Constructors
CollabViewerTabHostFragment2()
Public Methods
void addCollabHostListener(CollabViewerTabHostFragment2.CollabTabHostListener listener)
TabLayout.Tab addTab(Bundle args, String tag, String title, String fileExtension, String password, int itemSource)
Adds a new tab
CollabManager getCollabManager()
Gets the CollabManager for annotation collaboration.
PDFViewCtrl getPdfViewCtrl()
void onCreate(Bundle savedInstanceState)
void onDestroyView()
void onPrepareOptionsMenu(Menu menu)
void onUpdateUndoRedoState()
void openAnnotationList()
void removeCollabHostListener(CollabViewerTabHostFragment2.CollabTabHostListener listener)
[Expand]
Inherited Methods
From class com.pdftron.pdf.controls.PdfViewCtrlTabHostFragment2
From class com.pdftron.pdf.controls.PdfViewCtrlTabHostBaseFragment
From class java.lang.Object
From interface android.view.View.OnDragListener
From interface android.view.View.OnLayoutChangeListener
From interface android.view.View.OnSystemUiVisibilityChangeListener
From interface com.pdftron.collab.ui.viewer.CollabViewerTabFragment2.CollabTabListener
From interface com.pdftron.collab.ui.viewer.OpenAnnotationListListener
From interface com.pdftron.pdf.controls.BookmarksTabLayout.BookmarksTabsListener
From interface com.pdftron.pdf.controls.PdfViewCtrlTabBaseFragment.TabListener
From interface com.pdftron.pdf.controls.PdfViewCtrlTabFragment2.AnnotationToolbarComponentListener
From interface com.pdftron.pdf.controls.PdfViewCtrlTabFragment2.ComponentListener
From interface com.pdftron.pdf.controls.SearchResultsView.SearchResultsListener
From interface com.pdftron.pdf.controls.ThumbnailsViewFragment.OnExportThumbnailsListener
From interface com.pdftron.pdf.controls.ThumbnailsViewFragment.OnThumbnailsEditAttemptWhileReadOnlyListener
From interface com.pdftron.pdf.controls.ThumbnailsViewFragment.OnThumbnailsViewDialogDismissListener
From interface com.pdftron.pdf.controls.UserCropDialogFragment.OnUserCropDialogDismissListener
From interface com.pdftron.pdf.controls.UserCropSelectionDialogFragment.UserCropSelectionDialogFragmentListener
From interface com.pdftron.pdf.dialog.BookmarksDialogFragment.BookmarksDialogListener
From interface com.pdftron.pdf.dialog.ViewModePickerDialogFragment.ViewModePickerDialogFragmentListener
From interface com.pdftron.pdf.tools.ToolManager.QuickMenuListener
From interface com.pdftron.pdf.tools.ToolManager.SnackbarListener
From interface com.pdftron.pdf.utils.UserCropUtilities.AutoCropInBackgroundTask.AutoCropTaskListener

Public Constructors

public CollabViewerTabHostFragment2 ()

Public Methods

public void addCollabHostListener (CollabViewerTabHostFragment2.CollabTabHostListener listener)

Parameters
listener The listener

public TabLayout.Tab addTab (Bundle args, String tag, String title, String fileExtension, String password, int itemSource)

Adds a new tab

Parameters
args The argument needed to create PdfViewCtrlTabBaseFragment
tag The tab tag
title The title
fileExtension The file extension
password The password
itemSource The item source of the document
Returns
  • The created tab

public CollabManager getCollabManager ()

Gets the CollabManager for annotation collaboration.

public PDFViewCtrl getPdfViewCtrl ()

public void onCreate (Bundle savedInstanceState)

public void onDestroyView ()

public void onPrepareOptionsMenu (Menu menu)

public void onUpdateUndoRedoState ()

public void openAnnotationList ()

public void removeCollabHostListener (CollabViewerTabHostFragment2.CollabTabHostListener listener)

Parameters
listener The listener