| java.lang.Object | |||
| ↳ | DialogFragment | ||
| ↳ | com.pdftron.pdf.controls.NavigationListDialogFragment | ||
| ↳ | com.pdftron.pdf.controls.OutlineDialogFragment | ||
The OutlineDialogFragment shows a document outline (bookmarks) that can be used to navigate the document in the PDFViewCtrl.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | OutlineDialogFragment.OutlineDialogListener | Callback interface to be invoked when an interaction is needed. | |||||||||
| class | OutlineDialogFragment.Theme | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | BUNDLE_CREATE_BUTTON | ||||||||||
| String | BUNDLE_CREATE_BUTTON_SPANNABLE_STRING | ||||||||||
| String | BUNDLE_EDITING_ENABLED | ||||||||||
| String | BUNDLE_EDIT_BUTTON | ||||||||||
| String | BUNDLE_EDIT_BUTTON_SPANNABLE_STRING | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| OutlineDialogFragment() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void | enterEditMode() | ||||||||||
| void | exitEditMode(Boolean isOnPause) | ||||||||||
| void | finishSearchView() | ||||||||||
| String | getQueryText() | ||||||||||
| boolean | handleBackPress() | ||||||||||
| boolean | isEditingEnabled() | ||||||||||
| boolean | isEmpty() | ||||||||||
| boolean | moveBookmarkSelected(Bookmark destination) | ||||||||||
| static OutlineDialogFragment |
newInstance()
Returns a new instance of the class
| ||||||||||
| static OutlineDialogFragment | newInstance(boolean editingEnabled, String editButtonEditTxt, String createButtonEditText) | ||||||||||
| boolean |
onClick(TreeNode<BookmarkNode> node, RecyclerView.ViewHolder holder)
called when TreeNodes were clicked.
| ||||||||||
| void | onConfigurationChanged(Configuration newConfig) | ||||||||||
| void | onCreate(Bundle savedInstanceState) | ||||||||||
| View | onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) | ||||||||||
| void | onDestroyView() | ||||||||||
| void | onExpandNode(TreeNode<BookmarkNode> selectedNode, int position) | ||||||||||
| void | onNodeCheckBoxSelected(TreeNode<BookmarkNode> treeNode, RecyclerView.ViewHolder viewHolder) | ||||||||||
| boolean | onOptionsItemSelected(MenuItem item) | ||||||||||
| void | onPause() | ||||||||||
| boolean | onQueryTextChange(String newText) | ||||||||||
| boolean | onQueryTextSubmit(String query) | ||||||||||
| void | onResume() | ||||||||||
| void | onStartDrag(TreeNode<BookmarkNode> treeNode, int position, RecyclerView.ViewHolder viewHolder) | ||||||||||
| void |
onToggle(boolean isExpand, RecyclerView.ViewHolder holder)
called when TreeNodes were toggle.
| ||||||||||
| void | onViewCreated(View view, Bundle savedInstanceState) | ||||||||||
| void | prepareOutlineSearch(Menu menu) | ||||||||||
| void | resetBookmarkListFilter() | ||||||||||
| OutlineDialogFragment |
setCurrentBookmark(Bookmark currentBookmark)
Sets the current bookmark.
| ||||||||||
| void | setEditButtonText(String editBtnText, String createButtonTxt) | ||||||||||
| void | setEditButtonText(CharSequence editBtnText, CharSequence createButtonTxt) | ||||||||||
| void |
setOutlineDialogListener(OutlineDialogFragment.OutlineDialogListener listener)
Sets the OutlineDialogListener listener.
| ||||||||||
| OutlineDialogFragment |
setPdfViewCtrl(PDFViewCtrl pdfViewCtrl)
Sets the
PDFViewCtrl | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.controls.NavigationListDialogFragment
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.dialog.BookmarksDialogFragment.IBookmarksDialogSearchView
| |||||||||||
From interface
com.pdftron.recyclertreeview.BookmarkNodeBinder.BookmarkNodeClickListener
| |||||||||||
From interface
com.pdftron.recyclertreeview.EditOutlineMoveDialog.EditOutlineMoveClickListener
| |||||||||||
From interface
com.pdftron.recyclertreeview.OutlineTreeViewAdapter.OnBookmarkTreeNodeListener
| |||||||||||
called when TreeNodes were clicked.
called when TreeNodes were toggle.
| isExpand | the status of TreeNodes after being toggled. |
|---|
Sets the current bookmark.
| currentBookmark | The current bookmark |
|---|
Sets the OutlineDialogListener listener.
| listener | The listener |
|---|