- java.lang.Object
-
- javafx.application.Application
-
- org.testfx.framework.junit.ApplicationAdapter
-
public final class ApplicationAdapter extends Application
Adapter that adapts from a class implementing theApplicationFixtureinterface to an actualApplication.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javafx.application.Application
Application.Parameters
-
-
Field Summary
-
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA
-
-
Constructor Summary
Constructors Constructor Description ApplicationAdapter(ApplicationFixture applicationFixture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()voidstart(Stage primaryStage)voidstop()-
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, launch, launch, notifyPreloader, setUserAgentStylesheet
-
-
-
-
Constructor Detail
-
ApplicationAdapter
public ApplicationAdapter(ApplicationFixture applicationFixture)
-
-
Method Detail
-
init
public void init() throws Exception- Overrides:
initin classApplication- Throws:
Exception
-
start
public void start(Stage primaryStage) throws Exception
- Specified by:
startin classApplication- Throws:
Exception
-
stop
public void stop() throws Exception- Overrides:
stopin classApplication- Throws:
Exception
-
-