org.freehep.jas.plugin.tree
Class FTreeNodeRenamedNotification
java.lang.Object
java.util.EventObject
org.freehep.jas.plugin.tree.FTreeNotification
org.freehep.jas.plugin.tree.FTreeNodeRenamedNotification
- All Implemented Interfaces:
- java.io.Serializable
- public class FTreeNodeRenamedNotification
- extends org.freehep.jas.plugin.tree.FTreeNotification
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.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
protected java.lang.String |
nodeName()
Get the name of the FTreeNode to which this event is
referring to. |
protected java.lang.String |
nodeNewName()
|
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 |
FTreeNodeRenamedNotification
public FTreeNodeRenamedNotification(java.lang.Object source,
FTreePath oldPath,
java.lang.String newName)
nodeNewName
protected java.lang.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 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()