Class JWebAssemblyEmulator
java.lang.Object
de.inetsoftware.jwebassembly.emulator.JWebAssemblyEmulator
The main class start point for the emulator.
- Author:
- Volker Berlin
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe implementation of the javafx Application. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidlaunchContent(String content, Runnable main) Start the emulator from a URL, load the html page and call the given main method.static voidlaunchResource(String htmlPage, Runnable main) Start the emulator from a resource file, load the html page and call the given main method.static voidStart the emulator from a URL, load the html page and call the given main method.
-
Constructor Details
-
JWebAssemblyEmulator
public JWebAssemblyEmulator()
-
-
Method Details
-
launchResource
Start the emulator from a resource file, load the html page and call the given main method.- Parameters:
htmlPage- The resource of the html page that the WebAssembly contains.main- the executable with the main function
-
launchURL
-
launchContent
-