public class

TreeNode

extends Object
implements Cloneable
java.lang.Object
   ↳ com.pdftron.recyclertreeview.TreeNode<T extends com.pdftron.recyclertreeview.LayoutItemType>

Class Overview

https://github.com/TellH/RecyclerTreeView Modified by PDFTron

Summary

Constants
int UNDEFINE
Fields
public int height
Public Constructors
TreeNode(T content)
Public Methods
TreeNode<T> addChild(TreeNode<T> node)
TreeNode<T> addChildAtPos(int position, TreeNode<T> node)
TreeNode<T> clone()
void collapse()
void collapseAll()
void expand()
void expandAll()
List<TreeNode<T>> getChildList()
T getContent()
int getHeight()
TreeNode<T> getParent()
boolean isExpand()
boolean isLeaf()
boolean isLocked()
boolean isRoot()
TreeNode<T> lock()
TreeNode<T> setChildAtPos(int position, TreeNode<T> node)
void setChildList(List<TreeNode<T>> childList)
void setContent(T content)
void setParent(TreeNode<T> parent)
String toString()
boolean toggle()
TreeNode<T> unlock()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int UNDEFINE

Constant Value: -1 (0xffffffff)

Fields

public int height

Public Constructors

public TreeNode (T content)

Public Methods

public TreeNode<T> addChild (TreeNode<T> node)

public TreeNode<T> addChildAtPos (int position, TreeNode<T> node)

public TreeNode<T> clone ()

Throws
CloneNotSupportedException

public void collapse ()

public void collapseAll ()

public void expand ()

public void expandAll ()

public List<TreeNode<T>> getChildList ()

public T getContent ()

public int getHeight ()

public TreeNode<T> getParent ()

public boolean isExpand ()

public boolean isLeaf ()

public boolean isLocked ()

public boolean isRoot ()

public TreeNode<T> lock ()

public TreeNode<T> setChildAtPos (int position, TreeNode<T> node)

public void setChildList (List<TreeNode<T>> childList)

public void setContent (T content)

public void setParent (TreeNode<T> parent)

public String toString ()

public boolean toggle ()

public TreeNode<T> unlock ()