Package com.cloud.clientpak
Class ClientApp
java.lang.Object
javafx.application.Application
com.cloud.clientpak.ClientApp
public class ClientApp
extends javafx.application.Application
The FX class of the application, Launches the UI of the application
according to the description of the application scene described in
view.xml file.
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static ControllerVariableControllerprivate javafx.fxml.FXMLLoaderThe loader of the XML file describing the UI.private static javafx.stage.StageThe main Stage of the FX application.Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic javafx.stage.StagegetStage()static voidvoidstart(javafx.stage.Stage primaryStage) Executed at application startup, saves references to in class variables Primary Stage and Controller.voidstop()Executed before closing the application, stops the service of work with files and closes the network connection.Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet
-
Field Details
-
loader
private javafx.fxml.FXMLLoader loaderThe loader of the XML file describing the UI. -
controller
VariableController -
pStage
private static javafx.stage.Stage pStageThe main Stage of the FX application.
-
-
Constructor Details
-
ClientApp
public ClientApp()
-
-
Method Details
-
start
Executed at application startup, saves references to in class variables Primary Stage and Controller.- Specified by:
startin classjavafx.application.Application- Parameters:
primaryStage- The main Stage of the FX application.- Throws:
IOException- It may occur when working with the loader.
-
getStage
public static javafx.stage.Stage getStage() -
stop
public void stop()Executed before closing the application, stops the service of work with files and closes the network connection.- Overrides:
stopin classjavafx.application.Application
-
main
-