com.pdftron.pdf.controls.PdfViewCtrlTabBaseFragment.TabListener |
Known Indirect Subclasses |
Callback interface to be invoked when an interaction is needed.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
getToolbarHeight()
The implementation should return the height of toolbar.
| ||||||||||
abstract boolean |
onBackPressed()
Called when onBackPressed is called when viewing a document.
| ||||||||||
abstract void |
onDownloadedSuccessful()
Called when download successfully has been finished.
| ||||||||||
abstract SearchResultsView.SearchResultStatus |
onFullTextSearchFindText(boolean searchUp)
Called when should find next/previous text.
| ||||||||||
abstract boolean |
onHandleKeyShortcutEvent(int keyCode, KeyEvent event)
Called when key shortcut event triggered
| ||||||||||
abstract void |
onInkEditSelected(Annot annot, int pageNum)
Called when an ink edit has been selected.
| ||||||||||
abstract void |
onOpenAddNewTab(int itemSource, String tag, String name, String password, int initialPage)
Called when a new tab has been opened.
| ||||||||||
abstract void |
onOpenAnnotationToolbar(ToolManager.ToolMode mode)
Called when the annotation toolbar should open for a tool mode.
| ||||||||||
abstract void |
onOpenEditToolbar(ToolManager.ToolMode mode)
Called when the edit toolbar should open for a tool mode.
| ||||||||||
abstract void |
onOutlineOptionSelected()
Called when outline option selected
| ||||||||||
abstract void |
onPageThumbnailOptionSelected(boolean thumbnailEditMode, Integer checkedItem)
Called when page thumbnail viewer selected
| ||||||||||
abstract void | onSearchOptionSelected() | ||||||||||
abstract void |
onSearchProgressHide()
The implementation should hide the search progress.
| ||||||||||
abstract void |
onSearchProgressShow()
The implementation should show the search progress.
| ||||||||||
abstract void |
onShowTabInfo(String tag, String title, String fileExtension, int itemSource, int duration)
Called when show tab info has been triggered.
| ||||||||||
abstract void |
onTabDocumentLoaded(String tag)
Called when the document has been loaded.
| ||||||||||
abstract void |
onTabError(int errorCode, String info)
Called when an error has been happened to this tab.
| ||||||||||
abstract void |
onTabIdentityChanged(String oldTabTag, String newTabTag, String newTabTitle, String newFileExtension, int newTabSource)
Called when the identity of the tab has been changed.
| ||||||||||
abstract void |
onTabJumpToSdCardFolder()
Called when an SD card file is opened as a local file
| ||||||||||
abstract void |
onTabPaused(FileInfo fileInfo, boolean isDocModifiedAfterOpening)
Called when the fragment is paused.
| ||||||||||
abstract void |
onTabSingleTapConfirmed()
Called when a single tap has been touched on the tab.
| ||||||||||
abstract void |
onTabThumbSliderStopTrackingTouch()
Called when thumbnail slider has been stopped tracking touch.
| ||||||||||
abstract void |
onToggleReflow()
Called when the reflow mode has been toggled.
| ||||||||||
abstract void |
onUndoRedoPopupClosed()
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
onUpdateOptionsMenu()
Called when toolbar overflow menu should be updated
| ||||||||||
abstract void | onViewModeOptionSelected() | ||||||||||
abstract void |
resetHideToolbarsTimer()
The implementation should reset timer for hiding toolbars.
| ||||||||||
abstract void |
setToolbarsVisible(boolean visible)
The implementation should change the visibility of toolbars.
| ||||||||||
abstract void |
setViewerOverlayUIVisible(boolean visible)
The implementation should change the visibility of top toolbar,
bottom navigation bar as well as system navigation bar.
|
The implementation should return the height of toolbar.
Called when onBackPressed is called when viewing a document.
Called when download successfully has been finished.
Called when should find next/previous text.
searchUp | True if should go to previous search (up) |
---|
Called when key shortcut event triggered
Called when an ink edit has been selected.
annot | The annotation |
---|---|
pageNum | The page number |
Called when a new tab has been opened.
itemSource | The item source of document |
---|---|
tag | The tab tag |
name | The name of the document |
password | The password |
initialPage | The initial page to scroll to when the document is opened, unused if less than 1. |
Called when the annotation toolbar should open for a tool mode.
mode | The tool mode |
---|
Called when the edit toolbar should open for a tool mode.
mode | The tool mode |
---|
Called when outline option selected
Called when page thumbnail viewer selected
thumbnailEditMode | true if thumbnail is in edit mode |
---|---|
checkedItem | The index of the item that is checked |
The implementation should hide the search progress.
The implementation should show the search progress.
Called when show tab info has been triggered.
Called when the document has been loaded.
tag | The tab tab |
---|
Called when an error has been happened to this tab.
errorCode | The code of error |
---|---|
info | The information |
Called when the identity of the tab has been changed.
oldTabTag | The old tab tag |
---|---|
newTabTag | The new tab tag |
newTabTitle | The new title of the tab |
newFileExtension | The new extension of the document |
newTabSource | The new item source of document |
Called when an SD card file is opened as a local file
Called when the fragment is paused.
fileInfo | The file shown when tab has been paused |
---|---|
isDocModifiedAfterOpening | True if document has been modified after opening |
Called when a single tap has been touched on the tab.
Called when thumbnail slider has been stopped tracking touch.
Called when the reflow mode has been toggled.
This method is deprecated.
No replacement.
The implementation should close undo/redo popup menu.
Called when toolbar overflow menu should be updated
The implementation should reset timer for hiding toolbars.
The implementation should change the visibility of toolbars.
The implementation should change the visibility of top toolbar, bottom navigation bar as well as system navigation bar.