T
- The type of the wrapped data of the tree node.public class ListTreeModel<T> extends AbstractTreeModel<T>
Constructor and Description |
---|
ListTreeModel() |
Modifier and Type | Method and Description |
---|---|
protected Collection<TreeModel<T>> |
createChildren()
Returns a new
ArrayList . |
addChild, addChildNode, equals, getChildCount, getChildren, getData, getIndex, getLevel, getNextSibling, getParent, getPreviousSibling, hashCode, isFirst, isLast, isLeaf, isRoot, iterator, remove, setData, toString
protected Collection<TreeModel<T>> createChildren()
ArrayList
.createChildren
in class AbstractTreeModel<T>
Collection
instance which should hold the tree's children.