Module org.testfx

Class PrimaryStageApplication


  • public class PrimaryStageApplication
    extends javafx.application.Application
    The main application used during tests when a developer is not testing his/her own subclass of Application. The primaryStage from Application.start(Stage) can be accessed via PRIMARY_STAGE_FUTURE.
    • Nested Class Summary

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

        javafx.application.Application.Parameters
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static CompletableFuture<javafx.stage.Stage> PRIMARY_STAGE_FUTURE  
      • Fields inherited from class javafx.application.Application

        STYLESHEET_CASPIAN, STYLESHEET_MODENA
    • Method Summary

      Modifier and Type Method Description
      void start​(javafx.stage.Stage primaryStage)  
      • Methods inherited from class javafx.application.Application

        getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
    • Field Detail

      • PRIMARY_STAGE_FUTURE

        public static final CompletableFuture<javafx.stage.Stage> PRIMARY_STAGE_FUTURE
    • Constructor Detail

      • PrimaryStageApplication

        public PrimaryStageApplication()
    • Method Detail

      • start

        public void start​(javafx.stage.Stage primaryStage)
        Specified by:
        start in class javafx.application.Application