Class DOMTreeModel
java.lang.Object
org.xhtmlrenderer.swing.DOMTreeModel
- All Implemented Interfaces:
TreeModel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDisplayable(Node parent) Adds a feature to the Displayable attribute of the DOMTreeModel objectvoidGets the child attribute of the DOMTreeModel objectintgetChildCount(Object parent) Gets the childCount attribute of the DOMTreeModel objectintgetIndexOfChild(Object parent, Object childNode) Gets the indexOfChild attribute of the DOMTreeModel objectgetRoot()Gets the root attribute of the DOMTreeModel objectbooleanGets the leaf attribute of the DOMTreeModel objectvoidvoidvalueForPathChanged(TreePath path, Object newValue)
-
Field Details
-
root
Our root for display -
displayableNodes
-
-
Constructor Details
-
DOMTreeModel
DOMTreeModel(Document doc)
-
-
Method Details
-
addTreeModelListener
- Specified by:
addTreeModelListenerin interfaceTreeModel
-
removeTreeModelListener
- Specified by:
removeTreeModelListenerin interfaceTreeModel
-
valueForPathChanged
- Specified by:
valueForPathChangedin interfaceTreeModel
-
getChild
-
getChildCount
Gets the childCount attribute of the DOMTreeModel object- Specified by:
getChildCountin interfaceTreeModel
-
getIndexOfChild
Gets the indexOfChild attribute of the DOMTreeModel object- Specified by:
getIndexOfChildin interfaceTreeModel
-
getRoot
-
isLeaf
-
addDisplayable
-