Class FxApplication

  • Direct Known Subclasses:
    LoginApplication

    public abstract class FxApplication
    extends javafx.application.Application
    Tentackle FX application base class.

    Usually the application initially launched is the LoginApplication.

    Author:
    harald
    • 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 
      Constructor Description
      FxApplication()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void showApplicationStatus​(java.lang.String msg, double progress)
      Updates the status in the main application scene.
      void start​(javafx.stage.Stage stage)  
      abstract void startApplication​(javafx.stage.Stage primaryStage)
      The main entry point for all Tentackle JavaFX applications.
      void stop()  
      • 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
    • Constructor Detail

      • FxApplication

        public FxApplication()
    • Method Detail

      • start

        public void start​(javafx.stage.Stage stage)
                   throws java.lang.Exception
        Specified by:
        start in class javafx.application.Application
        Throws:
        java.lang.Exception
      • stop

        public void stop()
                  throws java.lang.Exception
        Overrides:
        stop in class javafx.application.Application
        Throws:
        java.lang.Exception
      • startApplication

        public abstract void startApplication​(javafx.stage.Stage primaryStage)
        The main entry point for all Tentackle JavaFX applications.

        This is just a replacement for Application.start(javafx.stage.Stage) to make sure the client application is really implementing this method.

        Parameters:
        primaryStage - the primary stage
      • showApplicationStatus

        public abstract void showApplicationStatus​(java.lang.String msg,
                                                   double progress)
        Updates the status in the main application scene.
        Parameters:
        msg - the message shown in the view
        progress - the progress, 0 to disable, negative if infinite, 1.0 if done