|
TreeTableModelMap |
Top Previous Next |
TreeTableModelMap extends TreeModelMap and wraps around a TreeTableModel, which contains the actual tree structure data. Calls to treetable model's methods are passed on to the underlying treetable model.
TreeTableModelMap also implements the ReorderModel, ReorderListener and CacheableTreeTableModel interfaces, to provide for caching and to be able to track the reordering of tree table rows. This functionality will be valid only if the treetable model that is passed in the constructor is also a ReorderModel and/or a CacheableTreeTableModel.
Next, we discuss two usefull subclasses, DefaultSortTreeTableModel and DefaultFilterTreeTableModel, which can sort and filter the tree nodes of a treetable model respectively.