Package com.marginallyclever.ro3
Interface SceneChangeListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
NodeTreeView
A listener for scene changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterSceneChange
(Node newScene) Called after the scene changes.void
beforeSceneChange
(Node oldScene) Called before the scene changes.
-
Method Details
-
beforeSceneChange
Called before the scene changes. This is a good time to unregister listeners.- Parameters:
oldScene
- the scene that is about to be replaced.
-
afterSceneChange
Called after the scene changes. This is a good time to register listeners.- Parameters:
newScene
- the scene that has just been added.
-