| java.lang.Object ti.swing.treetable.AbstractTreeModel ti.chimera.registry.RegistryTreeModel
RegistryTreeModel | public class RegistryTreeModel extends AbstractTreeModel (Code) | | A tree model for a subtree of the registry. The model tracks changes to
the form of the registry (ie. link/unlink nodes), and fires the appropriate
tree structure change events.
XXX add a RegistryTreeFilter, so different registry trees can filter out
nodes...
XXX add a TreeCellRender plus interface to set icons, etc., for different
node contract types... this should be done here, rather than in the user of
the RegistryTreeModel in order to force a more consistent user interface,
because the icon will be conveying type information, it would be confusing
to the user if the same type results in different icons in different places
XXX need some way to unsubscribe all DirectorySubscriber-s when the tree
model is no longer in use...
author: Rob Clark version: 0.1 |
Inner Class :public static class NodeWrapper | |
RegistryTreeModel | public RegistryTreeModel(Main main, String path) throws RegistryException(Code) | | Class Constructor.
Parameters: path - the path to the root node of the tree |
dispose | public void dispose()(Code) | | Dispose of the tree model
|
Methods inherited from ti.swing.treetable.AbstractTreeModel | public void addTreeModelListener(TreeModelListener l)(Code)(Java Doc) public void fireTreeNodesChanged(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) public void fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) public void fireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) public void fireTreeStructureChanged(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) public int getIndexOfChild(Object parent, Object child)(Code)(Java Doc) public Object getRoot()(Code)(Java Doc) public boolean isLeaf(Object node)(Code)(Java Doc) public void removeTreeModelListener(TreeModelListener l)(Code)(Java Doc) public void valueForPathChanged(TreePath path, Object newValue)(Code)(Java Doc)
|
|
|