public class

OutlineTreeViewAdapter

extends TreeViewAdapter<T extends LayoutItemType>
java.lang.Object
   ↳
     ↳ com.pdftron.recyclertreeview.TreeViewAdapter<T extends com.pdftron.recyclertreeview.LayoutItemType>
       ↳ com.pdftron.recyclertreeview.OutlineTreeViewAdapter<T extends com.pdftron.recyclertreeview.LayoutItemType>

Summary

Nested Classes
interface OutlineTreeViewAdapter.OnBookmarkTreeNodeListener  
Public Constructors
OutlineTreeViewAdapter(List<TreeNode<T>> nodes, List<? extends TreeViewBinder> viewBinders, PDFViewCtrl pdfViewCtrl, float scale)
Public Methods
static void addPlaceHolderNode(TreeNode<BookmarkNode> treeNode)
static List<TreeNode<BookmarkNode>> buildBookmarkTreeNodeList(PDFViewCtrl pdfViewCtrl, Bookmark bookmark, boolean isSearchMode)
void disableEditOutline()
void enableEditOutline()
void expandDisplayNodesNodes(boolean isSearchMode)
TreeNode<T> findNode(Bookmark bookmark)
int getItemViewType(int position)
boolean isEditingOutline()
void onBindViewHolder(RecyclerView.ViewHolder holder, int position, List<Object> payloads)
void onBindViewHolder(RecyclerView.ViewHolder holder, int position)
void onItemDrop(RecyclerView.ViewHolder holder, int fromPosition, int toPosition)
static void setBookMarkTreeNode(PDFViewCtrl pdfViewCtrl, TreeNode<BookmarkNode> selectedNode, boolean isSearchMode)
void setNodeTreeNode(PDFViewCtrl pdfViewCtrl, TreeNode<T> selectedNode, boolean isSearchMode)
void setOnTreeNodeListener(OutlineTreeViewAdapter.OnBookmarkTreeNodeListener onTreeNodeListener)
void setTheme(OutlineDialogFragment.Theme theme)
[Expand]
Inherited Methods
From class com.pdftron.recyclertreeview.TreeViewAdapter
From class java.lang.Object

Public Constructors

public OutlineTreeViewAdapter (List<TreeNode<T>> nodes, List<? extends TreeViewBinder> viewBinders, PDFViewCtrl pdfViewCtrl, float scale)

Public Methods

public static void addPlaceHolderNode (TreeNode<BookmarkNode> treeNode)

public static List<TreeNode<BookmarkNode>> buildBookmarkTreeNodeList (PDFViewCtrl pdfViewCtrl, Bookmark bookmark, boolean isSearchMode)

public void disableEditOutline ()

public void enableEditOutline ()

public void expandDisplayNodesNodes (boolean isSearchMode)

public TreeNode<T> findNode (Bookmark bookmark)

public int getItemViewType (int position)

public boolean isEditingOutline ()

public void onBindViewHolder (RecyclerView.ViewHolder holder, int position, List<Object> payloads)

public void onBindViewHolder (RecyclerView.ViewHolder holder, int position)

public void onItemDrop (RecyclerView.ViewHolder holder, int fromPosition, int toPosition)

public static void setBookMarkTreeNode (PDFViewCtrl pdfViewCtrl, TreeNode<BookmarkNode> selectedNode, boolean isSearchMode)

public void setNodeTreeNode (PDFViewCtrl pdfViewCtrl, TreeNode<T> selectedNode, boolean isSearchMode)

public void setOnTreeNodeListener (OutlineTreeViewAdapter.OnBookmarkTreeNodeListener onTreeNodeListener)

public void setTheme (OutlineDialogFragment.Theme theme)