Module org.jhotdraw8.fxbase
Package org.jhotdraw8.fxbase.tree
Class AbstractTreePresentationModel<N>
java.lang.Object
org.jhotdraw8.fxbase.tree.AbstractTreePresentationModel<N>
- Type Parameters:
N- the node type
- All Implemented Interfaces:
TreePresentationModel<N>
- Direct Known Subclasses:
SimpleTreePresentationModel
public abstract class AbstractTreePresentationModel<N>
extends Object
implements TreePresentationModel<N>
The
TreePresentationModel can be used to present a TreeModel
in a TreeView or a TreeTableView.
Maps TreeModel to a TreeItem<E> hierarchy.
Note: for performance reasons we do not expand the tree nodes by default.
- Author:
- Werner Randelshofer
-
Property Summary
Properties -
Field Summary
Fields inherited from interface org.jhotdraw8.fxbase.tree.TreePresentationModel
MODEL_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidonTreeModelChanged(TreeModel<N> oldValue, TreeModel<N> newValue) Holds the underlying model.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.fxbase.tree.TreePresentationModel
getRoot, getTreeItem, getTreeModel, isUpdating, setTreeModel
-
Property Details
-
treeModel
Holds the underlying model.- Specified by:
treeModelPropertyin interfaceTreePresentationModel<N>- See Also:
-
-
Constructor Details
-
AbstractTreePresentationModel
public AbstractTreePresentationModel()
-
-
Method Details
-
treeModelProperty
Holds the underlying model.- Specified by:
treeModelPropertyin interfaceTreePresentationModel<N>- Returns:
- the
treeModelproperty
-
onTreeModelChanged
-