Package io.tlf.jme.jfx.impl
Interface SceneNotifier
-
public interface SceneNotifierAllows a javafx node to be notified when they are attached and removed from the GUI.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAttached(com.jme3.app.Application app)Called when a javafx.scene.Node is attached to a scene.voidonDetached()Called when a javafx.scene.Node is detached from a scene.
-
-
-
Method Detail
-
onAttached
void onAttached(com.jme3.app.Application app)
Called when a javafx.scene.Node is attached to a scene. This method is always called on the jmonkeyengine GL thread.- Parameters:
app- The jmonkeyengine application.
-
onDetached
void onDetached()
Called when a javafx.scene.Node is detached from a scene. This method is always called on the jmonkeyengine GL thread.
-
-