public class DocumentTreeModel
extends javax.swing.tree.DefaultTreeModel
DocumentTreeModel
implements a Swing TreeModel for a dom4j XML
Document.
Modifier and Type | Field | Description |
---|---|---|
protected Document |
document |
The document for this model
|
Constructor | Description |
---|---|
DocumentTreeModel(Document document) |
Modifier and Type | Method | 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