Class ApplicationLauncherImpl

java.lang.Object
org.testfx.toolkit.impl.ApplicationLauncherImpl
All Implemented Interfaces:
ApplicationLauncher

public class ApplicationLauncherImpl extends Object implements ApplicationLauncher
  • Constructor Details

    • ApplicationLauncherImpl

      public ApplicationLauncherImpl()
  • Method Details

    • launch

      public void launch(Class<? extends javafx.application.Application> appClass, 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 interface ApplicationLauncher
    • initMonocleHeadless

      private void initMonocleHeadless()
    • assignMonoclePlatform

      private void assignMonoclePlatform() throws Exception
      Throws:
      Exception
    • assignHeadlessPlatform

      private void assignHeadlessPlatform() throws Exception
      Throws:
      Exception
    • assignPrivateStaticField

      private void assignPrivateStaticField(Class<?> clazz, String name, Object value) throws Exception
      Throws:
      Exception