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

    Fields
    Modifier and Type
    Field
    Description
    private static Controller
    Variable Controller
    private javafx.fxml.FXMLLoader
    The loader of the XML file describing the UI.
    private static javafx.stage.Stage
    The main Stage of the FX application.

    Fields inherited from class javafx.application.Application

    STYLESHEET_CASPIAN, STYLESHEET_MODENA
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static javafx.stage.Stage
     
    static void
    main(String[] args)
     
    void
    start(javafx.stage.Stage primaryStage)
    Executed at application startup, saves references to in class variables Primary Stage and Controller.
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • loader

      private javafx.fxml.FXMLLoader loader
      The loader of the XML file describing the UI.
    • controller

      private static Controller controller
      Variable Controller
    • pStage

      private static javafx.stage.Stage pStage
      The main Stage of the FX application.
  • Constructor Details

    • ClientApp

      public ClientApp()
  • Method Details

    • start

      public void start(javafx.stage.Stage primaryStage) throws IOException
      Executed at application startup, saves references to in class variables Primary Stage and Controller.
      Specified by:
      start in class javafx.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:
      stop in class javafx.application.Application
    • main

      public static void main(String[] args)