arlut.csd.JTree
Interface treeCallback

All Known Implementing Classes:
gclient, GASHSchema

public interface treeCallback

Callback interface to be implemented by objects that receive notification of user activities on a treeControl.

See Also:
treeControl

Method Summary
 void treeNodeContracted(treeNode node)
          Called when a node is closed.
 void treeNodeDoubleClicked(treeNode node)
          Called when an item in the tree is double-clicked.
 void treeNodeExpanded(treeNode node)
          Called when a node is expanded, to allow the user of the tree to dynamically load the information at that time.
 void treeNodeMenuPerformed(treeNode node, java.awt.event.ActionEvent event)
          Called when a popup menu item is selected on a treeNode
 void treeNodeSelected(treeNode node)
          Called when an item in the tree is selected
 void treeNodeUnSelected(treeNode node, boolean someNodeSelected)
          Called when an item in the tree is unselected
 

Method Detail

treeNodeSelected

public void treeNodeSelected(treeNode node)
Called when an item in the tree is selected
Parameters:
node - The node selected in the tree.
See Also:
treeCanvas

treeNodeUnSelected

public void treeNodeUnSelected(treeNode node,
                               boolean someNodeSelected)
Called when an item in the tree is unselected
Parameters:
node - The node selected in the tree.
someNodeSelected - If true, this node is being unselected by the selection of another node.
See Also:
treeCanvas

treeNodeMenuPerformed

public void treeNodeMenuPerformed(treeNode node,
                                  java.awt.event.ActionEvent event)
Called when a popup menu item is selected on a treeNode
Parameters:
node - The node selected in the tree.
See Also:
treeCanvas

treeNodeExpanded

public void treeNodeExpanded(treeNode node)
Called when a node is expanded, to allow the user of the tree to dynamically load the information at that time.

treeNodeContracted

public void treeNodeContracted(treeNode node)
Called when a node is closed.

treeNodeDoubleClicked

public void treeNodeDoubleClicked(treeNode node)
Called when an item in the tree is double-clicked.
Parameters:
node - The node selected in the tree.
See Also:
treeCanvas