NASA World Wind

Uses of Interface
gov.nasa.worldwind.util.tree.TreeNode

Packages that use TreeNode
gov.nasa.worldwind.util.layertree Displays a list of layers using BasicTree. 
gov.nasa.worldwind.util.tree A tree control drawn in the world window. 
gov.nasa.worldwindx.examples.kml Examples of importing and exporting files in the Keyhole Markup Language (KML). 
 

Uses of TreeNode in gov.nasa.worldwind.util.layertree
 

Classes in gov.nasa.worldwind.util.layertree that implement TreeNode
 class KMLContainerTreeNode
          A KMLFeatureTreeNode that represents a KML container defined by a KMLAbstractContainer.
 class KMLFeatureTreeNode
          A TreeNode that represents a KML feature defined by a KMLAbstractFeature.
 class KMLLayerTreeNode
          A LayerTreeNode that represents a KML feature hierarchy defined by a KMLRoot.
 class KMLNetworkLinkTreeNode
          A KMLFeatureTreeNode that represents a KML network link defined by a KMLNetworkLink.
 class LayerTreeNode
          A TreeNode that represents a Layer.
 

Methods in gov.nasa.worldwind.util.layertree that return TreeNode
protected  TreeNode LayerTreeModel.createRootNode()
          Returns a new root TreeNode for this tree model.
 

Uses of TreeNode in gov.nasa.worldwind.util.tree
 

Classes in gov.nasa.worldwind.util.tree that implement TreeNode
 class BasicTreeNode
          Default implementation of a TreeNode.
 

Fields in gov.nasa.worldwind.util.tree declared as TreeNode
protected  TreeNode BasicTreeLayout.NodeLayout.node
          Node that this layout applies to.
protected  TreeNode BasicTreeNode.parent
           
protected  TreeNode BasicTreeModel.root
          The root node.
protected  TreeNode BasicTreeLayout.scrollToNode
          This field is set by BasicTreeLayout.makeVisible(TreePath), and read by BasicTreeLayout.scrollToNode(gov.nasa.worldwind.render.DrawContext) during rendering.
 

Fields in gov.nasa.worldwind.util.tree with type parameters of type TreeNode
protected  List<TreeNode> BasicTreeNode.children
           
protected  BoundedHashMap<TreeNode,BasicTreeLayout.NodeLayout> BasicTreeLayout.layoutCache
          Cache of computed node layout data.
 

Methods in gov.nasa.worldwind.util.tree that return TreeNode
 TreeNode Tree.getNode(TreePath path)
          Locate a node in the tree.
 TreeNode BasicTree.getNode(TreePath path)
          Locate a node in the tree.
 TreeNode TreeNode.getParent()
          Get the node's parent.
 TreeNode BasicTreeNode.getParent()
          Get the node's parent.
 TreeNode TreeModel.getRoot()
          Get the root node of the tree.
 TreeNode BasicTreeModel.getRoot()
          Get the root node of the tree.
 

Methods in gov.nasa.worldwind.util.tree that return types with arguments of type TreeNode
 Iterable<TreeNode> TreeNode.getChildren()
          Get the children of this node.
 Iterable<TreeNode> BasicTreeNode.getChildren()
          Get the children of this node.
 

Methods in gov.nasa.worldwind.util.tree with parameters of type TreeNode
 void TreeNode.addChild(int index, TreeNode child)
          Add a child node at a specified position in the list of children.
 void BasicTreeNode.addChild(int index, TreeNode child)
          Add a child node at a specified position in the list of children.
 void TreeNode.addChild(TreeNode child)
          Add a child node.
 void BasicTreeNode.addChild(TreeNode child)
          Add a child node.
protected  void BasicTreeLayout.computeSize(Tree tree, TreeNode root, DrawContext dc, Dimension frameSize, Dimension size, int x, int level)
          Compute the size of a tree.
protected  void BasicTreeLayout.computeTreeLayout(TreeNode root, DrawContext dc, Dimension frameSize, Point location, int level, List<BasicTreeLayout.NodeLayout> nodes)
          Determine the tree layout.
protected  String BasicTreeLayout.computeWrappedText(DrawContext dc, TreeNode node, Font font, int width)
          Get the wrapped description text for a node.
protected  HotSpot BasicTreeLayout.createSelectControl(TreeNode node)
          Create a pickable object to represent selection control in the tree.
protected  HotSpot BasicTreeLayout.createTogglePathControl(Tree tree, TreeNode node)
          Create a pickable object to represent a toggle control in the tree.
protected  Rectangle BasicTreeLayout.findNodeBounds(TreeNode needle, TreeNode haystack, DrawContext dc, Dimension frameSize, Point location, int level)
          Find the bounds of a node in the tree.
protected  String BasicTreeLayout.getDescriptionText(TreeNode node)
          Get the description text for a node.
 Dimension BasicTreeLayout.getNodeSize(DrawContext dc, Dimension frameSize, int x, TreeNode node, TreeAttributes attributes)
          Compute the size of a node.
protected  String BasicTreeLayout.getText(TreeNode node)
          Get the text for a node.
 boolean Tree.isNodeExpanded(TreeNode node)
          Is a node expanded?
 boolean BasicTree.isNodeExpanded(TreeNode node)
          Is a node expanded?
protected  boolean BasicTreeLayout.mustDisplayNode(TreeNode node, int level)
          Determine if a node needs to be displayed.
 void TreeNode.removeChild(TreeNode child)
          Remove a child node.
 void BasicTreeNode.removeChild(TreeNode child)
          Remove a child node.
protected  void BasicTreeLayout.setDescendantsSelected(TreeNode node, boolean selected)
          Sets the selection state of the branch beneath the specified node.
 void TreeNode.setParent(TreeNode node)
          Set the parent node.
 void BasicTreeNode.setParent(TreeNode node)
          Set the parent node.
 void BasicTreeModel.setRoot(TreeNode root)
          Set the root node.
protected  void BasicTreeLayout.toggleNodeSelection(TreeNode node)
          Toggles the selection state of the specified node.
 

Constructors in gov.nasa.worldwind.util.tree with parameters of type TreeNode
BasicTreeLayout.NodeLayout(TreeNode node)
          Create a new node layout.
BasicTreeModel(TreeNode root)
          Create a tree model with a root node.
 

Uses of TreeNode in gov.nasa.worldwindx.examples.kml
 

Fields in gov.nasa.worldwindx.examples.kml declared as TreeNode
protected  TreeNode KMLApplicationController.highlightedNode
          Indicates the TreeNode currently under the cursor.
 


NASA World Wind