Save This Page
Home » dom4j-1.6.1 » org.dom4j.swing » [javadoc | source]
org.dom4j.swing
public class: DocumentTreeModel [javadoc | source]
java.lang.Object
   javax.swing.tree.DefaultTreeModel
      org.dom4j.swing.DocumentTreeModel

All Implemented Interfaces:
    TreeModel, Serializable

DocumentTreeModel implements a Swing TreeModel for a dom4j XML Document.

Field Summary
protected  Document document    The document for this model 
Constructor:
 public DocumentTreeModel(Document document) 
Method from org.dom4j.swing.DocumentTreeModel Summary:
getDocument,   setDocument
Methods from javax.swing.tree.DefaultTreeModel:
addTreeModelListener,   asksAllowsChildren,   getChild,   getChildCount,   getIndexOfChild,   getListeners,   getPathToRoot,   getRoot,   getTreeModelListeners,   insertNodeInto,   isLeaf,   nodeChanged,   nodeStructureChanged,   nodesChanged,   nodesWereInserted,   nodesWereRemoved,   reload,   reload,   removeNodeFromParent,   removeTreeModelListener,   setAsksAllowsChildren,   setRoot,   valueForPathChanged
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.swing.DocumentTreeModel Detail:
 public Document getDocument() 
    DOCUMENT ME!
 public  void setDocument(Document document) 
    Sets the Document instance that this TreeModel is based on