java.lang.Object | ||
↳ | AppCompatActivity | |
↳ | com.pdftron.pdf.controls.DiffActivity |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DiffActivity() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
canRecreateActivity()
Called when about the re-create Activity for day/night mode
| ||||||||||
boolean |
canShowFileCloseSnackbar()
The implementation should determine whether closing a tab should show re-open snackbar.
| ||||||||||
boolean |
canShowFileInFolder()
The implementation should determine whether the long press on tab widget should show file info.
| ||||||||||
void | onBackPressed() | ||||||||||
void |
onExitSearchMode()
Called when search view collapsed
| ||||||||||
void |
onJumpToSdCardFolder()
Called when an SD card file is opened as a local file
| ||||||||||
void |
onLastTabClosed()
Called when the last tab in the tab host has been closed, and therefore there is no more tab.
| ||||||||||
void |
onNavButtonPressed()
Called when navigation button has been pressed.
| ||||||||||
boolean |
onOpenDocError()
Called when an error has been happened when opening a document.
| ||||||||||
void |
onShowFileInFolder(String fileName, String filepath, int itemSource)
The implementation should browse to the specified file in the folder.
| ||||||||||
void |
onStartSearchMode()
Called when search view expanded
| ||||||||||
void |
onTabChanged(String tag)
Called when a new tab has been selected excluding the initial tab.
| ||||||||||
void |
onTabDocumentLoaded(String tag)
Called when document associated with a tab is loaded
| ||||||||||
void |
onTabHostHidden()
Called when the tab host has been hidden.
| ||||||||||
void |
onTabHostShown()
Called when the tab host has been shown.
| ||||||||||
void |
onTabPaused(FileInfo fileInfo, boolean isDocModifiedAfterOpening)
Called when the fragment is paused.
| ||||||||||
boolean |
onToolbarCreateOptionsMenu(Menu menu, MenuInflater inflater)
Called when creating Toolbar options menu
| ||||||||||
boolean |
onToolbarOptionsItemSelected(MenuItem item)
Called when Toolbar options menu selected
| ||||||||||
boolean |
onToolbarPrepareOptionsMenu(Menu menu)
Called when preparing Toolbar options menu
| ||||||||||
static void | open(Context packageContext) | ||||||||||
static void | open(Context packageContext, int defaultFile1, int defaultFile2) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.controls.PdfViewCtrlTabHostBaseFragment.TabHostListener
|
Called when about the re-create Activity for day/night mode
The implementation should determine whether closing a tab should show re-open snackbar.
The implementation should determine whether the long press on tab widget should show file info.
Called when search view collapsed
Called when an SD card file is opened as a local file
Called when the last tab in the tab host has been closed, and therefore there is no more tab.
Called when navigation button has been pressed.
Called when an error has been happened when opening a document.
The implementation should browse to the specified file in the folder.
fileName | The file name |
---|---|
filepath | The file path |
itemSource | The item source of the file |
Called when search view expanded
Called when a new tab has been selected excluding the initial tab.
tag | the tab tag changed to |
---|
Called when document associated with a tab is loaded
tag | the document tag |
---|
Called when the tab host has been hidden.
Called when the tab host has been shown.
Called when the fragment is paused.
fileInfo | The file shown when tab has been paused |
---|---|
isDocModifiedAfterOpening | True if document has been modified after opening; False otherwise |
Called when creating Toolbar options menu
menu | the menu |
---|---|
inflater | the inflater |
Called when Toolbar options menu selected
item | the menu item |
---|
Called when preparing Toolbar options menu
menu | the menu |
---|