- java.lang.Object
-
- javafx.application.Application
-
- org.testfx.toolkit.PrimaryStageApplication
-
public class PrimaryStageApplication extends Application
The main application used during tests when a developer is not testing his/her own subclass ofApplication. TheprimaryStagefromApplication.start(Stage)can be accessed viaPRIMARY_STAGE_FUTURE.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javafx.application.Application
Application.Parameters
-
-
Field Summary
Fields Modifier and Type Field Description static CompletableFuture<Stage>PRIMARY_STAGE_FUTURE-
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA
-
-
Constructor Summary
Constructors Constructor Description PrimaryStageApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(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<Stage> PRIMARY_STAGE_FUTURE
-
-
Method Detail
-
start
public void start(Stage primaryStage)
- Specified by:
startin classApplication
-
-