org.inb.biomoby.central.gui.model
Class DataTypesTreeModel
java.lang.Object
javax.swing.tree.DefaultTreeModel
org.inb.biomoby.central.gui.model.DataTypesTreeModel
- All Implemented Interfaces:
- Serializable, TreeModel, ModelListener<ObjectType>
public class DataTypesTreeModel
- extends DefaultTreeModel
- implements ModelListener<ObjectType>
TreeModel that contains BioMoby datatype elements.
The model implements an ObjectType ModelListener to automatically synchronize with DatatypesModel singleton model
- Author:
- Dmitry Repchevsky
- See Also:
- Serialized Form
Methods inherited from class javax.swing.tree.DefaultTreeModel |
addTreeModelListener, asksAllowsChildren, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged |
DataTypesTreeModel
public DataTypesTreeModel()
getRoot
public DefaultMutableTreeNode getRoot()
- Specified by:
getRoot
in interface TreeModel
- Overrides:
getRoot
in class DefaultTreeModel
modelCleared
public void modelCleared()
- Specified by:
modelCleared
in interface ModelListener<ObjectType>
modelObjectInserted
public void modelObjectInserted(ObjectType object)
- Specified by:
modelObjectInserted
in interface ModelListener<ObjectType>
modelObjectRemoved
public void modelObjectRemoved(ObjectType object)
- Specified by:
modelObjectRemoved
in interface ModelListener<ObjectType>
modelObjectChanged
public void modelObjectChanged(ObjectType object1,
ObjectType object2)
- Specified by:
modelObjectChanged
in interface ModelListener<ObjectType>
findNode
public DefaultMutableTreeNode findNode(ObjectType element)
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010