public class DocumentTreeModel
extends javax.swing.tree.DefaultTreeModel
DocumentTreeModel implements a Swing TreeModel for a dom4j XML
Document.
| Modifier and Type | Field and Description |
|---|---|
protected Document |
document
The document for this model
|
| Constructor and Description |
|---|
DocumentTreeModel(Document document) |
| Modifier and Type | Method and Description |
|---|---|
Document |
getDocument()
DOCUMENT ME!
|
void |
setDocument(Document document)
Sets the
Document instance that this
TreeModel is based on |
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