Package org.arakhne.afc.math.tree
Class TreeNodeParentChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.arakhne.afc.math.tree.TreeNodeParentChangedEvent
-
- All Implemented Interfaces:
Serializable
public class TreeNodeParentChangedEvent extends EventObject
Called each time an hierarchy update event occurs on a tree node.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:41
- Author:
- Stéphane GALLAND
- See Also:
- Serialized Form
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathtree
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description TreeNodeParentChangedEvent(TreeNode<?,?> child, TreeNode<?,?> oldParent1, TreeNode<?,?> newParent1)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeNode<?,?>
getChildNode()
Replies the node that fire the event.TreeNode<?,?>
getNewParent()
Replies the new parent node.TreeNode<?,?>
getOldParent()
Replies the old parent node.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getChildNode
@Pure public TreeNode<?,?> getChildNode()
Replies the node that fire the event.- Returns:
- the node that fire the event.
-
getOldParent
@Pure public TreeNode<?,?> getOldParent()
Replies the old parent node.- Returns:
- the old parent node of the event firing node.
-
getNewParent
@Pure public TreeNode<?,?> getNewParent()
Replies the new parent node.- Returns:
- the new parent node of the event firing node.
-
-