public class

CollabViewerTabHostFragment

extends PdfViewCtrlTabHostFragment
implements OpenAnnotationListListener
java.lang.Object
   ↳ Fragment
     ↳ com.pdftron.pdf.controls.PdfViewCtrlTabHostFragment
       ↳ com.pdftron.collab.ui.viewer.CollabViewerTabHostFragment

Class Overview

A PdfViewCtrlTabHostFragment that allows for real-time annotation collaboration. Used in conjunction with CollabViewerTabFragment.

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

Summary

Nested Classes
interface CollabViewerTabHostFragment.CollabTabHostListener  
[Expand]
Inherited Constants
From class com.pdftron.pdf.controls.PdfViewCtrlTabHostFragment
Public Constructors
CollabViewerTabHostFragment()
Public Methods
void addCollabHostListener(CollabViewerTabHostFragment.CollabTabHostListener listener)
TabLayout.Tab addTab(Bundle args, String tag, String title, String fileExtension, String password, int itemSource)
Adds a new tab
void onCreate(Bundle savedInstanceState)
The overload implementation of Fragment#onCreate(Bundle).
void onPrepareOptionsMenu(Menu menu)
The overload implementation of Fragment#onPrepareOptionsMenu(Menu).
void openAnnotationList()
void removeCollabHostListener(CollabViewerTabHostFragment.CollabTabHostListener listener)
[Expand]
Inherited Methods
From class com.pdftron.pdf.controls.PdfViewCtrlTabHostFragment
From class java.lang.Object
From interface android.view.View.OnLayoutChangeListener
From interface android.view.View.OnSystemUiVisibilityChangeListener
From interface com.pdftron.collab.ui.viewer.OpenAnnotationListListener
From interface com.pdftron.pdf.controls.AnnotationToolbar.AnnotationToolbarListener
From interface com.pdftron.pdf.controls.BookmarksTabLayout.BookmarksTabsListener
From interface com.pdftron.pdf.controls.PdfViewCtrlTabFragment.TabListener
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.utils.UserCropUtilities.AutoCropInBackgroundTask.AutoCropTaskListener

Public Constructors

public CollabViewerTabHostFragment ()

Public Methods

public void addCollabHostListener (CollabViewerTabHostFragment.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 PdfViewCtrlTabFragment
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 void onCreate (Bundle savedInstanceState)

The overload implementation of Fragment#onCreate(Bundle).

public void onPrepareOptionsMenu (Menu menu)

The overload implementation of Fragment#onPrepareOptionsMenu(Menu).

public void openAnnotationList ()

public void removeCollabHostListener (CollabViewerTabHostFragment.CollabTabHostListener listener)

Parameters
listener The listener