Package org.testfx.toolkit
Class PrimaryStageApplication
- java.lang.Object
-
- javafx.application.Application
-
- org.testfx.toolkit.PrimaryStageApplication
-
public class PrimaryStageApplication extends javafx.application.Application
The main application used during tests when a developer is not testing his/her own subclass ofApplication
. TheprimaryStage
fromApplication.start(Stage)
can be accessed viaPRIMARY_STAGE_FUTURE
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.concurrent.CompletableFuture<javafx.stage.Stage>
PRIMARY_STAGE_FUTURE
-
Constructor Summary
Constructors Constructor Description PrimaryStageApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start(javafx.stage.Stage primaryStage)
-