public class

PdfLayerDialogFragment

extends DialogFragment
implements PdfLayerNodeBinder.PdfLayerNodeClickListener PdfLayerTreeViewAdapter.OnPdfLayerTreeNodeListener
java.lang.Object
   ↳ DialogFragment
     ↳ com.pdftron.pdf.dialog.pdflayer.PdfLayerDialogFragment

Summary

Nested Classes
class PdfLayerDialogFragment.Theme  
Fields
public static final String TAG
Public Constructors
PdfLayerDialogFragment()
Public Methods
boolean isEmpty()
static PdfLayerDialogFragment newInstance()
Returns a new instance of the class
boolean onClick(TreeNode<PdfLayerNode> node, RecyclerView.ViewHolder holder)
called when TreeNodes were clicked.
void onCreate(Bundle savedInstanceState)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDestroyView()
void onExpandNode(TreeNode<PdfLayerNode> selectedNode, int position)
void onNodeCheckBoxSelected(TreeNode<PdfLayerNode> treeNode, RecyclerView.ViewHolder viewHolder)
void onToggle(boolean isExpand, RecyclerView.ViewHolder holder)
called when TreeNodes were toggle.
void onViewCreated(View view, Bundle savedInstanceState)
PdfLayerDialogFragment setPdfViewCtrl(PDFViewCtrl pdfViewCtrl)
Sets the PDFViewCtrl
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pdftron.recyclertreeview.PdfLayerNodeBinder.PdfLayerNodeClickListener
From interface com.pdftron.recyclertreeview.PdfLayerTreeViewAdapter.OnPdfLayerTreeNodeListener

Fields

public static final String TAG

Public Constructors

public PdfLayerDialogFragment ()

Public Methods

public boolean isEmpty ()

public static PdfLayerDialogFragment newInstance ()

Returns a new instance of the class

public boolean onClick (TreeNode<PdfLayerNode> node, RecyclerView.ViewHolder holder)

called when TreeNodes were clicked.

Returns
  • weather consume the click event.

public void onCreate (Bundle savedInstanceState)

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

public void onDestroyView ()

public void onExpandNode (TreeNode<PdfLayerNode> selectedNode, int position)

public void onNodeCheckBoxSelected (TreeNode<PdfLayerNode> treeNode, RecyclerView.ViewHolder viewHolder)

public void onToggle (boolean isExpand, RecyclerView.ViewHolder holder)

called when TreeNodes were toggle.

Parameters
isExpand the status of TreeNodes after being toggled.

public void onViewCreated (View view, Bundle savedInstanceState)

public PdfLayerDialogFragment setPdfViewCtrl (PDFViewCtrl pdfViewCtrl)

Sets the PDFViewCtrl

Parameters
pdfViewCtrl The PDFViewCtrl
Returns
  • This class