Module is.codion.common.model
Package is.codion.common.model.component.tree
@NullMarked
package is.codion.common.model.component.tree
A UI-agnostic tree model, with lazy loading, expansion, selection, filtering and sorting.
-
ClassDescriptionAbstractFilterTreeModelBuilder<T,
B extends FilterTreeModel.Builder<T, B>> A base class forFilterTreeModel.Builderimplementations.A UI-agnostic tree model, supporting lazy loading, expansion, selection, filtering and sorting.FilterTreeModel.Builder<T,B extends FilterTreeModel.Builder<T, B>> Builds aFilterTreeModel.Provides aFilterTreeModel.BuilderProvides aFilterTreeModel.Builder.ChildrenStepThe expanded nodes of aFilterTreeModel.Loads the children of nodes, seeFilterTreeModel.Nodes.refresh(NodePath).The loaded nodes of aFilterTreeModel.Notified of changes to the included children of nodes, for bridging to a toolkit's own change notifications, such asjavax.swing.event.TreeModelEvents.The visible nodes, the included nodes whose ancestors are all expanded, in depth first order, the root excluded.Handles the sorting of aFilterTreeModel, the comparator applied within each group of siblings.NodePath<T>Identifies a node in aFilterTreeModelby the items on the path from the top level down to it.