Skip to content

TreeList

Specialized TreeView for hierarchical path navigation and directory listing.

Overview

Specialized TreeView for hierarchical path navigation and directory listing. Provides extensive layout configuration and interaction capabilities.

Basic Usage

TreeList treeList = new TreeList();
treeList.addPath("src", "main", "java");
treeList.addPath("src", "test", "java");
  • TreeView: Hierarchical tree container rendering collapsable nodes with custom icons, inline editing, and selection.

API

TreeList::addPath(String[])

Adds a path of node labels to the tree hierarchy, creating intermediate folders if necessary.

Parameter Type Description
labels String[] The hierarchical path labels.

Returns TreeList: This instance for chaining..