org.dom4j.swing
Class DocumentTreeModel
java.lang.Object
|
+--javax.swing.tree.DefaultTreeModel
|
+--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.3 $
- Author:
- James Strachan (james.strachan@metastuff.com), 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()
- Returns:
- the
Document instance that this
TreeModel is based on
setDocument
public void setDocument(Document document)
- Sets the
Document instance that this
TreeModel is based on
Copyright © 2002-2003 MetaStuff Ltd.. All Rights Reserved.