Class MainApp


  • public class MainApp
    extends xal.extension.fxapplication.FxApplication
    Author:
    Juan F. Esteban Müller
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javafx.application.Application

        javafx.application.Application.Parameters
    • Field Summary

      • Fields inherited from class xal.extension.fxapplication.FxApplication

        CSS_STYLE, DOCUMENT, HAS_ACCELERATOR, HAS_DOCUMENTS, HAS_SEQUENCE, MAIN_SCENE, MENU_BAR, SAVE_PATH_PREF_KEY
      • Fields inherited from class javafx.application.Application

        STYLESHEET_CASPIAN, STYLESHEET_MODENA
    • Constructor Summary

      Constructors 
      Constructor Description
      MainApp()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(String[] args)
      The main() method is ignored in correctly deployed JavaFX application.
      void setup​(javafx.stage.Stage stage)  
      • Methods inherited from class xal.extension.fxapplication.FxApplication

        aboutMenuHandler, addComboHandler, beforeStart, buildSequenceMenu, eLogMenuHandler, exitMenuHandler, getApplicationName, getDocument, getLaunchTime, getStage, helpMenuHandler, loadAcceleratorMenuHandler, loadDefaultAcceleratorMenuHandler, loadFileMenuHandler, newFileMenuHandler, registerApplicationStatusService, saveFileMenuHandler, selectSequenceMenuHandler, setAcceleratorWithPath, setApplicationName, setOxalDarkStyle, setOxalStyle, setTestMode, setTestModeSuffix, setTheme, start, stop, testModeMenuHandler, testModeSuffixMenuHandler, urlMenuHandler
      • Methods inherited from class javafx.application.Application

        getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet
    • Constructor Detail

      • MainApp

        public MainApp()
    • Method Detail

      • setup

        public void setup​(javafx.stage.Stage stage)
        Specified by:
        setup in class xal.extension.fxapplication.FxApplication
      • main

        public static void main​(String[] args)
        The main() method is ignored in correctly deployed JavaFX application. main() serves only as fallback in case the application can not be launched through deployment artifacts, e.g., in IDEs with limited FX support. NetBeans ignores main().
        Parameters:
        args - the command line arguments