Class JWebAssemblyEmulator.JavaFxApplication

java.lang.Object
javafx.application.Application
de.inetsoftware.jwebassembly.emulator.JWebAssemblyEmulator.JavaFxApplication
Enclosing class:
JWebAssemblyEmulator

public static class JWebAssemblyEmulator.JavaFxApplication extends javafx.application.Application
The implementation of the javafx Application.
Author:
Volker Berlin
  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.application.Application

    javafx.application.Application.Parameters
  • Field Summary

    Fields inherited from class javafx.application.Application

    STYLESHEET_CASPIAN, STYLESHEET_MODENA
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Load the page and run the start method
    static Object
    executeScript(String moduleName, String methodName, Object... args)
    The bridge method for the WebAssembly import function into the JavaScript.
    void
    start(javafx.stage.Stage primaryStage)

    Methods inherited from class javafx.application.Application

    getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JavaFxApplication

      public JavaFxApplication()
  • Method Details

    • executeScript

      public static Object executeScript(String moduleName, String methodName, Object... args)
      The bridge method for the WebAssembly import function into the JavaScript.
      Parameters:
      moduleName - the name of the module
      methodName - the name of the function
      args - the arguments
      Returns:
      the return value if any
    • start

      public void start(javafx.stage.Stage primaryStage) throws Exception
      Specified by:
      start in class javafx.application.Application
      Throws:
      Exception
    • execute

      public static void execute()
      Load the page and run the start method