com.elegantj.awt.tree
Class AWTTreeSelectionEvent
java.lang.Object
java.util.EventObject
com.elegantj.awt.tree.AWTTreeSelectionEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class AWTTreeSelectionEvent
- extends java.util.EventObject
AWTTreeSelectionEvent is used to notify interested parties that
state has changed in the event source
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
AWTTreeSelectionEvent(java.lang.Object source,
java.util.Vector selectedNodes)
Constructor for the AWTTreeSelectionEvent |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AWTTreeSelectionEvent
public AWTTreeSelectionEvent(java.lang.Object source,
java.util.Vector selectedNodes)
- Constructor for the AWTTreeSelectionEvent
- Parameters:
source - The Object that is the source of the eventselectedNodes - The vector of the selected nodes
getSelectedNodes
public java.util.Vector getSelectedNodes()
- Returns the vector of the selected nodes
- Returns:
- The vector of the selected nodes
getFirstSelectedNode
public AWTTreeNode getFirstSelectedNode()
- Method which returns the first selected node
if the selected nodes array is null it returns the null
- Returns:
- The first selected node
getLastSelectedNode
public AWTTreeNode getLastSelectedNode()
- Method which returns the last selected node
if the selected nodes array is null it returns the null
- Returns:
- The last selected node
Submit a bug or feature
Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.