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() |
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
public DocumentTreeModel(Document document)
public Document getDocument()
Document
instance that this
TreeModel
is based onpublic void setDocument(Document document)
Document
instance that this
TreeModel
is based onWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses