org.dom4j.swing
Class DocumentTreeModel
java.lang.Object
   javax.swing.tree.DefaultTreeModel
javax.swing.tree.DefaultTreeModel
       org.dom4j.swing.DocumentTreeModel
org.dom4j.swing.DocumentTreeModel
- All Implemented Interfaces: 
- Serializable, TreeModel
- public class DocumentTreeModel- extends DefaultTreeModel
 DocumentTreeModel implements a Swing TreeModel for a dom4j XML
 Document.
 
- Version:
- $Revision: 1.7 $
- Author:
- James Strachan , Jakob Jenkov
- See Also:
- Serialized Form
 
 
 
 
| Methods inherited from class javax.swing.tree.DefaultTreeModel | 
| addTreeModelListener, 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 | 
 
document
protected Document document
- The document for this model
 
 
DocumentTreeModel
public DocumentTreeModel(Document document)
getDocument
public Document getDocument()
- DOCUMENT ME!
 
- 
- Returns:
- the Documentinstance that thisTreeModelis based on
 
setDocument
public void setDocument(Document document)
- Sets the Documentinstance that thisTreeModelis based on
 
- 
- Parameters:
- document- DOCUMENT ME!
 
Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved.