java.lang.Object
javafx.application.Application
com.github.freddyyj.randomtrainsimworld.gui.Main
public class Main extends Application
Main GUI class extends
Application
.
Use getController()
to get Controller object of this GUI.-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
Application.Parameters
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
Modifier and Type Method Description static MainController
getController()
void
start(Stage primaryStage)
OverridesApplication.start(Stage)
.Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
start
OverridesApplication.start(Stage)
.- Specified by:
start
in classApplication
- Parameters:
primaryStage
-stage
- Throws:
Exception
- all exception throws
-
getController
-