org.freehep.jas.plugin.tree
Class FTreeNodeRenamedNotification
java.lang.Object
java.util.EventObject
org.freehep.jas.plugin.tree.FTreeNodeRenamedNotification
- All Implemented Interfaces:
- Serializable
public class FTreeNodeRenamedNotification
- extends EventObject
The event to be sent to the FTree when a node is renamed.
Renaming a node only changes its name, not its parent. To change
the parent of a node use a FTreeNodeMovedEvent.
- Author:
- The FreeHEP team @ SLAC.
- See Also:
- Serialized Form
Method Summary |
protected String |
nodeName()
Get the name of the FTreeNode to which this event is
referring to. |
protected String |
nodeNewName()
|
protected FTreePath |
nodePath()
Get the FTreePath of the FTreeNode to which this
event is referring to. |
FTreeNodeRenamedNotification
public FTreeNodeRenamedNotification(Object source,
FTreePath oldPath,
String newName)
nodeNewName
protected String nodeNewName()
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.