Interface JmeFxContainer

    • Method Detail

      • install

        static JmeFxContainer install​(com.jme3.app.Application application,
                                      com.jme3.scene.Node guiNode)
        Build the JavaFX container for the application.
        Parameters:
        application - the application.
        guiNode - the GUI node.
        Returns:
        the javaFX container.
      • install

        static JmeFxContainer install​(com.jme3.app.Application application,
                                      com.jme3.scene.Node guiNode,
                                      CursorDisplayProvider cursorProvider)
        Build the JavaFX container for the application.
        Parameters:
        application - the application.
        guiNode - the GUI node.
        cursorProvider - the cursor provider.
        Returns:
        the javaFX container.
      • isNeedWriteToJme

        boolean isNeedWriteToJme()
        Checks of existing waiting frames.
        Returns:
        true if need to write javaFx frame.
      • writeToJme

        java.lang.Void writeToJme()
        Write javaFX frame to jME texture.
      • setScene

        void setScene​(javafx.scene.Scene newScene,
                      javafx.scene.Group rootNode)
        Set a new scene to this container.
        Parameters:
        newScene - the new scene or null.
        rootNode - the new root of the scene.
      • getCursorProvider

        CursorDisplayProvider getCursorProvider()
        Gets the current cursor provider.
        Returns:
        the current cursor provider.
      • getScene

        javafx.scene.Scene getScene()
        Gets the current scene.
        Returns:
        the current scene.
      • getRootNode

        javafx.scene.Group getRootNode()
        Gets the root UI node.
        Returns:
        the root UI node.