Package ucar.unidata.ui
Class XmlTree.XlinkTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
ucar.unidata.ui.XmlTree.XmlTreeNode
ucar.unidata.ui.XmlTree.XlinkTreeNode
- All Implemented Interfaces:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
- Enclosing class:
XmlTree
Class XlinkTreeNode. Represents xlink nodes
- Version:
- %I%, %G%
- Author:
- Unidata development team
- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Expand if neededvoid
expand if needed.boolean
Have I loaded my docgetHref()
Where I point toGet the xlink:href urlMethods inherited from class ucar.unidata.ui.XmlTree.XmlTreeNode
getBaseLocation, getXmlNode
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
-
Constructor Details
-
XlinkTreeNode
ctor- Parameters:
node
- the xml nodetree
- The tree I am inname
- My namehref
- Where I put to
-
-
Method Details
-
checkExpansion
public void checkExpansion()Expand if needed -
checkExpansionInner
public void checkExpansionInner()expand if needed. This gets called in a thread from the above method. -
getHaveLoaded
public boolean getHaveLoaded()Have I loaded my doc- Returns:
- loaded my doc
-
getXlinkHref
Get the xlink:href url- Returns:
- the url
-
getHref
Where I point to- Returns:
- Where I point to
-