org.freehep.jas.plugin.tree
Class FTreeSelectionEvent

java.lang.Object
  extended byorg.freehep.jas.plugin.tree.FTreeSelectionEvent

public class FTreeSelectionEvent
extends java.lang.Object


Constructor Summary
protected FTreeSelectionEvent(javax.swing.event.TreeSelectionEvent event, FTree tree)
           
 
Method Summary
 FTreeNode[] addedNodes()
          Get the array of the nodes that were added in the last selection.
 FTreeNode[] removedNodes()
          Get the array of the nodes that were removed in the last selection.
 FTreeNode[] selectedNodes()
          Get the array of nodes that are currently selected.
 FTree tree()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FTreeSelectionEvent

protected FTreeSelectionEvent(javax.swing.event.TreeSelectionEvent event,
                              FTree tree)
Method Detail

tree

public FTree tree()

removedNodes

public FTreeNode[] removedNodes()
Get the array of the nodes that were removed in the last selection.

Returns:
The array of the unselected FTreeNode. If no nodes were removed, null is returned.

addedNodes

public FTreeNode[] addedNodes()
Get the array of the nodes that were added in the last selection.


selectedNodes

public FTreeNode[] selectedNodes()
Get the array of nodes that are currently selected.

Returns:
The array of FTreeNodes that are currently selected.