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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Launches the JavaFX application.
    void
    start(javafx.stage.Stage stage)
    Builds and shows the primary JavaFX stage for the simulator.

    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

    • SimulatorGUI

      public SimulatorGUI()
  • Method Details

    • start

      public void start(javafx.stage.Stage stage) throws Exception
      Builds and shows the primary JavaFX stage for the simulator.
      Specified by:
      start in class javafx.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

      public static void main(String[] args)
      Launches the JavaFX application.
      Parameters:
      args - standard command-line arguments passed to JavaFX