public class DocumentTreeModel extends 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
|
asksAllowsChildren, listenerList, root
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
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.