Class SimulatorGUI
java.lang.Object
javafx.application.Application
view.SimulatorGUI
public class SimulatorGUI
extends javafx.application.Application
JavaFX application entry point for the simulator user interface.
This class boots the desktop UI, loads the main FXML layout, applies the stylesheet and window icon, and configures a fixed minimum window size for the simulator.
-
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 -
Method Summary
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Constructor Details
-
SimulatorGUI
public SimulatorGUI()
-
-
Method Details
-
start
Builds and shows the primary JavaFX stage for the simulator.- Specified by:
startin classjavafx.application.Application- Parameters:
stage- the primary application window provided by the JavaFX runtime- Throws:
Exception- if the main FXML view or its resources cannot be loaded
-
main
Launches the JavaFX application.- Parameters:
args- standard command-line arguments passed to JavaFX
-