|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
uk.ac.reload.dweezil.gui.tree.ReloadTreeNode
uk.ac.reload.editor.gui.ReloadElementTreeNode
An implementation of DefaultMutableTreeNode for Trees. It contains: A JDOM Element A SchemaElement A ReloadDocument
Field Summary | |
protected ReloadElementBinding |
_eb
The ReloadElementBinding |
protected ReloadSchemaDocument |
_reloadDocument
The Parent Document |
protected ReloadSchemaElement |
_reloadSchemaElement
The associated ReloadSchemaElement |
Fields inherited from class uk.ac.reload.dweezil.gui.tree.ReloadTreeNode |
isExpanded, isHiLited |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
ReloadElementTreeNode(org.jdom.Element element)
Constructor for child Element |
|
ReloadElementTreeNode(ReloadSchemaDocument reloadDocument)
Constructor for Root Element |
Method Summary | |
ReloadElementBinding |
createReloadElementBinding()
Because other classes may not be interested in tree nodes we can return the important bits wrapped up in a ReloadElementBinding |
javax.swing.Icon |
getClosedIcon()
Get the closed icon to display |
org.jdom.Element |
getElement()
Get the JDOM Element |
javax.swing.Icon |
getLeafIcon()
Get the leaf icon to display |
java.lang.String |
getName()
Get the name of the element |
javax.swing.Icon |
getOpenIcon()
Get the open icon to display |
ReloadSchemaDocument |
getReloadDocument()
Get the parent document |
ReloadSchemaElement |
getSchemaElement()
Get the ReloadSchemaElement |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected ReloadSchemaElement _reloadSchemaElement
protected ReloadSchemaDocument _reloadDocument
protected ReloadElementBinding _eb
Constructor Detail |
public ReloadElementTreeNode(ReloadSchemaDocument reloadDocument)
reloadDocument
- The ReloadDocument DOM Documentpublic ReloadElementTreeNode(org.jdom.Element element)
element
- The JDOM ElementMethod Detail |
public ReloadElementBinding createReloadElementBinding()
public org.jdom.Element getElement()
public ReloadSchemaElement getSchemaElement()
public ReloadSchemaDocument getReloadDocument()
public java.lang.String getName()
public javax.swing.Icon getLeafIcon()
public javax.swing.Icon getOpenIcon()
public javax.swing.Icon getClosedIcon()
|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |