public class

PdfLayerTreeViewAdapter

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

Summary

Nested Classes
interface PdfLayerTreeViewAdapter.OnPdfLayerTreeNodeListener  
Public Constructors
PdfLayerTreeViewAdapter(List<TreeNode<T>> treeNodes, List<? extends TreeViewBinder> viewBinders, PDFViewCtrl pdfViewCtrl, float scale)
Public Methods
static List<TreeNode<PdfLayerNode>> buildPdfLayerTreeNodeList(PDFViewCtrl pdfViewCtrl, PdfLayer pdfLayer)
void expandDisplayNodesNodes(boolean isSearchMode)
int getItemViewType(int position)
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)
void setNodeTreeNode(PDFViewCtrl pdfViewCtrl, TreeNode<T> selectedNode, boolean isSearchMode)
void setOnTreeNodeListener(PdfLayerTreeViewAdapter.OnPdfLayerTreeNodeListener onTreeNodeListener)
void setTheme(PdfLayerDialogFragment.Theme theme)
[Expand]
Inherited Methods
From class com.pdftron.recyclertreeview.TreeViewAdapter
From class java.lang.Object

Public Constructors

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

Public Methods

public static List<TreeNode<PdfLayerNode>> buildPdfLayerTreeNodeList (PDFViewCtrl pdfViewCtrl, PdfLayer pdfLayer)

public void expandDisplayNodesNodes (boolean isSearchMode)

public int getItemViewType (int position)

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 void setNodeTreeNode (PDFViewCtrl pdfViewCtrl, TreeNode<T> selectedNode, boolean isSearchMode)

public void setOnTreeNodeListener (PdfLayerTreeViewAdapter.OnPdfLayerTreeNodeListener onTreeNodeListener)

public void setTheme (PdfLayerDialogFragment.Theme theme)