Package ui
Class StageManager
- java.lang.Object
-
- ui.StageManager
-
public final class StageManager extends java.lang.ObjectThe StageManager class is used setup and run each GUI.Each Stage object is defined by its title, FXML file, and (optionally) stylesheet. The methods can then be called to instantly generate a separate window.
- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description StageManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstartMain(javafx.stage.Stage stage)Start the main GUI.voidstartRepl(javafx.stage.Stage stage)Start the REPL GUI.
-
-
-
Method Detail
-
startMain
public void startMain(javafx.stage.Stage stage) throws java.io.IOExceptionStart the main GUI.The title, path, and stylesheet are hardcoded into this method.
- Parameters:
stage- The stage which the interface will be displayed on- Throws:
java.io.IOException- If the path is not found
-
startRepl
public void startRepl(javafx.stage.Stage stage) throws java.io.IOExceptionStart the REPL GUI.The title and path are hardcoded into this method.
- Parameters:
stage- The stage which the interface will be displayed on- Throws:
java.io.IOException- If the path is not found
-
-