Interface SceneNotifier


  • public interface SceneNotifier
    Allows 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
      void onAttached​(com.jme3.app.Application app)
      Called when a javafx.scene.Node is attached to a scene.
      void onDetached()
      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.