Package passport.application.desktop
Class App
java.lang.Object
javafx.application.Application
passport.application.desktop.App
public class App
extends javafx.application.Application
Main class of the PassPort application that extends
Application
.
Initializes and configures the application from different startup modes.-
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
-
Method Summary
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Constructor Details
-
App
public App()
-
-
Method Details
-
start
public void start(javafx.stage.Stage root) UI startup method. This method overrides the method fromApplication
. Configures the application style, initializes the welcome window, and displays the interface.- Specified by:
start
in classjavafx.application.Application
- Parameters:
root
- The main stage of the application.
-
main
Main method that starts the application.- Parameters:
args
- Command line arguments.
-