java.lang.Object
javafx.application.Application
eus.ehu.hotelreservation.ui.ReserveRoom
public class ReserveRoom
extends javafx.application.Application
Main entry point of the Hotel Reservation desktop application.
Extends Application to bootstrap the JavaFX
runtime, load the FXML layout and wire up the BlFacade singleton
into the controller via dependency injection.
-
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
-
ReserveRoom
public ReserveRoom()
-
-
Method Details
-
start
Creates and displays the main application window.Loads
reserve-room.fxml, injects the business-logic facade into the controller and shows a850×600scene.- Specified by:
startin classjavafx.application.Application- Parameters:
stage- the primary stage provided by the JavaFX platform- Throws:
IOException- if the FXML file cannot be loaded
-
main
Application entry point. Delegates toApplication.launch(String...)to start the JavaFX runtime.- Parameters:
args- command-line arguments
-