ucar.unidata.ui
Class XmlTree.XlinkTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by ucar.unidata.ui.XmlTree.XmlTreeNode
          extended by ucar.unidata.ui.XmlTree.XlinkTreeNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode
Enclosing class:
XmlTree

public static class XmlTree.XlinkTreeNode
extends XmlTree.XmlTreeNode

Class XlinkTreeNode. Represents xlink nodes

Version:
%I%, %G%
Author:
Unidata development team
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
XmlTree.XlinkTreeNode(Element node, XmlTree tree, String name, String href)
          ctor
 
Method Summary
 void checkExpansion()
          Expand if needed
 void checkExpansionInner()
          expand if needed.
 boolean getHaveLoaded()
          Have I loaded my doc
 String getHref()
          Where I point to
 
Methods 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlTree.XlinkTreeNode

public XmlTree.XlinkTreeNode(Element node,
                             XmlTree tree,
                             String name,
                             String href)
ctor

Parameters:
node - the xml node
tree - The tree I am in
name - My name
href - Where I put to
Method Detail

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

getHref

public String getHref()
Where I point to

Returns:
Where I point to