Package org.testfx.toolkit.impl
Class ApplicationLauncherImpl
- java.lang.Object
-
- org.testfx.toolkit.impl.ApplicationLauncherImpl
-
- All Implemented Interfaces:
ApplicationLauncher
public class ApplicationLauncherImpl extends java.lang.Object implements ApplicationLauncher
-
-
Constructor Summary
Constructors Constructor Description ApplicationLauncherImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
assignHeadlessPlatform()
private void
assignMonoclePlatform()
private void
assignPrivateStaticField(java.lang.Class<?> clazz, java.lang.String name, java.lang.Object value)
private void
initMonocleHeadless()
void
launch(java.lang.Class<? extends javafx.application.Application> appClass, java.lang.String... appArgs)
Configures a few necessary System properties before launching the application with the given arguments.
-
-
-
Method Detail
-
launch
public void launch(java.lang.Class<? extends javafx.application.Application> appClass, java.lang.String... appArgs)
Description copied from interface:ApplicationLauncher
Configures a few necessary System properties before launching the application with the given arguments.- Specified by:
launch
in interfaceApplicationLauncher
-
initMonocleHeadless
private void initMonocleHeadless()
-
assignMonoclePlatform
private void assignMonoclePlatform() throws java.lang.Exception
- Throws:
java.lang.Exception
-
assignHeadlessPlatform
private void assignHeadlessPlatform() throws java.lang.Exception
- Throws:
java.lang.Exception
-
assignPrivateStaticField
private void assignPrivateStaticField(java.lang.Class<?> clazz, java.lang.String name, java.lang.Object value) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-