org.freehep.jas.plugin.tree
Class FTreeNodeSelectionNotification

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.freehep.jas.plugin.tree.FTreeNotification
          extended byorg.freehep.jas.plugin.tree.FTreeNodeSelectionNotification
All Implemented Interfaces:
java.io.Serializable

public class FTreeNodeSelectionNotification
extends org.freehep.jas.plugin.tree.FTreeNotification

The event to be sent to the FTree when a node is selected.

See Also:
Serialized Form

Field Summary
static int NODE_SELECTED
           
static int NODE_UNSELECTED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FTreeNodeSelectionNotification(java.lang.Object source, FTreePath path, int state)
           
 
Method Summary
protected  java.lang.String nodeName()
          Get the name of the FTreeNode to which this event is referring to.
protected  FTreePath nodePath()
          Get the FTreePath of the FTreeNode to which this event is referring to.
 java.lang.String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NODE_SELECTED

public static final int NODE_SELECTED
See Also:
Constant Field Values

NODE_UNSELECTED

public static final int NODE_UNSELECTED
See Also:
Constant Field Values
Constructor Detail

FTreeNodeSelectionNotification

public FTreeNodeSelectionNotification(java.lang.Object source,
                                      FTreePath path,
                                      int state)
Method Detail

nodePath

protected FTreePath nodePath()
Get the FTreePath of the FTreeNode to which this event is referring to.

Returns:
The FTreePath of the corresponding node

nodeName

protected java.lang.String nodeName()
Get the name of the FTreeNode to which this event is referring to.

Returns:
The name of the node.

toString

public java.lang.String toString()