Interface SwingFilterTreeModel<T>

Type Parameters:
T - the item type
All Superinterfaces:
FilterTreeModel<T>, TreeModel
All Known Subinterfaces:
SwingEntityTableTreeModel, SwingEntityTreeModel

public interface SwingFilterTreeModel<T> extends FilterTreeModel<T>, TreeModel

A Swing TreeModel based on the UI-agnostic FilterTreeModel, adding the TreeModel interface, with selection() narrowed to a FilterTreeSelection, a TreeSelectionModel.

The tree nodes are the current NodePaths of the model, the root being NodePath.nodePath(), so the components of a TreePath are NodePaths, and TreePaths are equal when they identify the same node, whichever item instances they hold.

TreeModelListeners are notified in the order they were added.

Expansion is model state, see FilterTreeModel.expansion(), a JTree over this model must be kept in step with it, as is.codion.swing.common.ui.component.tree.FilterTree does.

See Also: