Package serverui

Class Main

java.lang.Object
javafx.application.Application
serverui.Main

public class Main 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 sample.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.

    Fields inherited from class javafx.application.Application

    STYLESHEET_CASPIAN, STYLESHEET_MODENA
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Launches the application.
    void
    start(javafx.stage.Stage primaryStage)
    Executed at application startup, saves references to in class variables Primary Stage and Controller.

    Methods inherited from class javafx.application.Application

    getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop

    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
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • start

      public void start(javafx.stage.Stage primaryStage) throws Exception
      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:
      Exception - It may occur when working with the loader.
    • main

      public static void main(String[] args)
      Launches the application.
      Parameters:
      args -