Goovi
Class AmosTree

Goovi.AmosNode
  |
  +--Goovi.AmosTree

public class AmosTree
extends AmosNode

Class to represent a tree of AmosNodes


Constructor Summary
AmosTree()
          Creates a AmosTree object.
 
Method Summary
 void addChild(AmosNode nodeToAdd)
          Adds a node directly to the root.
 void addChild(AmosNode parent, AmosNode nodeToAdd)
          Adds a node to a specified node and opens the parent and makes the parent a folder if necessary.
 void deleteNodes(Goovi.JCOutlinerNode[] ar)
           
 AmosNode findNode(java.lang.String nodeName)
          Finds a named AmosNode in the tree.
 AmosNode findNode(java.lang.String nodeName, AmosNode currentNode)
          Finds a named AmosNode in the tree.
 AmosNode getRoot()
           
 java.lang.String getRootName()
           
 void makeAllNodesVisibleNamed(java.lang.String name)
           
 void makeAllNodesVisibleNamed(java.lang.String name, AmosNode currentNode)
           
 void makeNodeVisible(AmosNode theNode)
           
 void nodeChanged(Goovi.JCOutlinerNode n)
           
 
Methods inherited from class Goovi.AmosNode
addColumn, getLabelString, getOid, getType, isFolder, makeMultInher, makeStub, setToFolder, toString
 

Constructor Detail

AmosTree

public AmosTree()
Creates a AmosTree object.
Method Detail

getRoot

public AmosNode getRoot()

getRootName

public java.lang.String getRootName()

findNode

public AmosNode findNode(java.lang.String nodeName)
Finds a named AmosNode in the tree.
Parameters:
nodeName - The name label of the node to be find.

findNode

public AmosNode findNode(java.lang.String nodeName,
                         AmosNode currentNode)
Finds a named AmosNode in the tree.
Parameters:
nodeName - The name label of the node to be find.
currentNode - The node where to start the recursive search.

addChild

public void addChild(AmosNode nodeToAdd)
Adds a node directly to the root.
Parameters:
nodeToAdd - The node to add.

addChild

public void addChild(AmosNode parent,
                     AmosNode nodeToAdd)
Adds a node to a specified node and opens the parent and makes the parent a folder if necessary.
Parameters:
parent - The parent node.
nodeToAdd - The node to add.

nodeChanged

public void nodeChanged(Goovi.JCOutlinerNode n)

deleteNodes

public void deleteNodes(Goovi.JCOutlinerNode[] ar)

makeAllNodesVisibleNamed

public void makeAllNodesVisibleNamed(java.lang.String name)

makeAllNodesVisibleNamed

public void makeAllNodesVisibleNamed(java.lang.String name,
                                     AmosNode currentNode)

makeNodeVisible

public void makeNodeVisible(AmosNode theNode)