org.qedeq.gui.se.tree
Class QedeqTreeModel
java.lang.Object
javax.swing.tree.DefaultTreeModel
org.qedeq.gui.se.tree.QedeqTreeModel
- All Implemented Interfaces:
- ModuleEventListener, Serializable, TreeModel
- public final class QedeqTreeModel
- extends DefaultTreeModel
- implements ModuleEventListener
Model for a JTree.
A Model, which represents the underlying, logical structure of data in a
software application and the high-level class associated with it. The
object model does not contain any information about the user interface.
- Version:
- $Revision: 1.1 $
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.tree.DefaultTreeModel |
asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QedeqTreeModel
public QedeqTreeModel(TreeNode root)
QedeqTreeModel
public QedeqTreeModel()
- Creates tree model.
addTreeModelListener
public void addTreeModelListener(TreeModelListener listener)
- Specified by:
addTreeModelListener in interface TreeModel
addModule
public void addModule(ModuleProperties prop)
- Specified by:
addModule in interface ModuleEventListener
stateChanged
public void stateChanged(ModuleProperties prop)
- Specified by:
stateChanged in interface ModuleEventListener
removeModule
public void removeModule(ModuleProperties prop)
- Specified by:
removeModule in interface ModuleEventListener
getSelectionPath
public TreePath getSelectionPath(ModuleProperties prop)