com.quadrique.jbuildingblocks.gui
Class TreeSelectionBaseEvent

java.lang.Object
  extended by com.quadrique.jbuildingblocks.gui.TreeSelectionBaseEvent

public class TreeSelectionBaseEvent
extends Object

This class describes a tree selection event. This selection event is sent to all the listeners that registered to receive the selection events.

Version:
1.0.0
Author:
Hervé Rivere
See Also:
TreeSelectionListener

Constructor Summary
TreeSelectionBaseEvent(TreePath zTreePath, DefaultMutableTreeNode zTreeNode, Object zUserObject)
          The constructor of the class.
 
Method Summary
 DefaultMutableTreeNode getTreeNode()
           
 TreePath getTreePath()
           
 Object getUserObject()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeSelectionBaseEvent

public TreeSelectionBaseEvent(TreePath zTreePath,
                              DefaultMutableTreeNode zTreeNode,
                              Object zUserObject)
The constructor of the class.

Parameters:
zTreePath - the tree path corresponding to the selected node in the tree,
zTreeNode - the tree node corresponding to the selected node in the tree,
zUserObject - an optional user object that contains additional selection information. This is typically a TreeNode
Method Detail

getTreePath

public TreePath getTreePath()
Returns:
the tree path corresponding to the selected node in the tree

getTreeNode

public DefaultMutableTreeNode getTreeNode()
Returns:
the tree node corresponding to the selected node in the tree

getUserObject

public Object getUserObject()
Returns:
the user object corresponding to the selected node in the tree


Copyright © 2001-2009 Quadrique Corporation. All Rights Reserved.