- java.lang.Object
-
- java.util.EventObject
-
- org.arakhne.afc.math.tree.ForestEvent
-
- All Implemented Interfaces:
Serializable
public class ForestEvent extends EventObject
Event on tree forest.- 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 ForestEvent(Forest<?> forest, Tree<?,?> oldTree, Tree<?,?> newTree)
Cinstruct an event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tree<?,?>
getAddedTree()
Replies the added tree.Forest<?>
getForest()
Replies the forest, source of the event.Tree<?,?>
getRemovedTree()
Replies the removed tree.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getForest
@Pure public Forest<?> getForest()
Replies the forest, source of the event.- Returns:
- the forest
-
getRemovedTree
@Pure public Tree<?,?> getRemovedTree()
Replies the removed tree.- Returns:
- the removed tree.
-
getAddedTree
@Pure public Tree<?,?> getAddedTree()
Replies the added tree.- Returns:
- the added tree.
-
-