Module MaterialFX

Class AbstractMFXTreeItem<T>

java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.control.Control
io.github.palexdev.materialfx.controls.base.AbstractMFXTreeItem<T>
Type Parameters:
T - The type of the data within TreeItem.
All Implemented Interfaces:
Styleable, EventTarget, Skinnable
Direct Known Subclasses:
MFXTreeItem

public abstract class AbstractMFXTreeItem<T> extends Control
Base class for every item used in MFXTreeView.

To be precise the MFXTreeView class is just the container of the tree. According to this implementation each item is a tree, the base concept is something like this:

 
 public class Node<T> {
     private T data;
     private Node<T> parent;
     private List<Node<T>> children;
 }
 
 
The root is defined as the element which parent is null.

See Also: