org.freehep.jas.plugin.tree
Class FTreeNodeMovedNotification

java.lang.Object
  extended by java.util.EventObject
      extended by org.freehep.jas.plugin.tree.FTreeNodeMovedNotification
All Implemented Interfaces:
Serializable

public class FTreeNodeMovedNotification
extends EventObject

The event to be sent to the FTree when a node is moved to a different FTreePath.

Author:
The FreeHEP team @ SLAC.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FTreeNodeMovedNotification(Object source, FTreePath oldPath, FTreePath newPath)
           
 
Method Summary
protected  String nodeName()
          Get the name of the FTreeNode to which this event is referring to.
protected  FTreePath nodeNewPath()
           
protected  FTreePath nodePath()
          Get the FTreePath of the FTreeNode to which this event is referring to.
 
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
 

Constructor Detail

FTreeNodeMovedNotification

public FTreeNodeMovedNotification(Object source,
                                  FTreePath oldPath,
                                  FTreePath newPath)
Method Detail

nodeNewPath

protected FTreePath nodeNewPath()

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 String nodeName()
Get the name of the FTreeNode to which this event is referring to.

Returns:
The name of the node.


Copyright © 2013. All Rights Reserved.