java.lang.Object
javafx.application.Application
com.atmbanksimulator.Main
public class Main
extends javafx.application.Application
ATM Simulator - Main: Entry Point
The Main class serves as the entry point for the ATM Banking Simulator application.
It initialises and connects all components of the MVC + Domain architecture —
View, Controller, UIModel, and Bank — and launches
the JavaFX application window.
- Version:
- 3.0
- Author:
- D'Souza, C. J.
-
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
-
Main
public Main()
-
-
Method Details
-
main
-
start
public void start(javafx.stage.Stage window) Initialises and connects all MVC components —Bank,UIModel,View, andController— then launches the JavaFX window and initialises the UIModel to its default state.- Specified by:
startin classjavafx.application.Application- Parameters:
window- the primaryStageprovided by the JavaFX framework
-