org.freehep.jas.plugin.tree
Class FTreeNodeAddedNotification

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

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

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FTreeNodeAddedNotification(java.lang.Object source, FTreePath path, java.lang.Class clazz)
           
FTreeNodeAddedNotification(java.lang.Object source, FTreePath path, java.lang.Object obj)
           
FTreeNodeAddedNotification(java.lang.Object source, java.lang.String path, java.lang.Class clazz)
           
FTreeNodeAddedNotification(java.lang.Object source, java.lang.String path, java.lang.Object obj)
           
 
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
 

Constructor Detail

FTreeNodeAddedNotification

public FTreeNodeAddedNotification(java.lang.Object source,
                                  FTreePath path,
                                  java.lang.Class clazz)

FTreeNodeAddedNotification

public FTreeNodeAddedNotification(java.lang.Object source,
                                  java.lang.String path,
                                  java.lang.Class clazz)

FTreeNodeAddedNotification

public FTreeNodeAddedNotification(java.lang.Object source,
                                  FTreePath path,
                                  java.lang.Object obj)

FTreeNodeAddedNotification

public FTreeNodeAddedNotification(java.lang.Object source,
                                  java.lang.String path,
                                  java.lang.Object obj)
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()