| Modifier and Type | Field and Description |
|---|---|
| private static volatile Throwable | |
| private static Preloader | |
| private static volatile boolean | |
| private static volatile Throwable | |
| public static final String | LAUNCH_MODE_CLASS
When passed as launchMode to launchApplication, tells the method that launchName is the name of the JavaFX application class to launch. |
| public static final String | LAUNCH_MODE_JAR
When passed as launchMode to launchApplication, tells the method that launchName is a path to a JavaFX application jar file to be launched. |
| public static final String | LAUNCH_MODE_MODULE
When passed as launchMode to launchApplication, tells the method that launchName is the name of the JavaFX application class within a module to be launched. |
| private static AtomicBoolean | |
| private static volatile RuntimeException | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static volatile Throwable | |
| private static volatile Throwable | |
| private static volatile Throwable | |
| private static volatile Throwable | |
| private static ClassLoader | |
| private static Class | |
| private static final boolean | |
| private static volatile Throwable | |
| private static volatile Throwable | |
| private static final AtomicBoolean | |
| private static final boolean | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static String | |
| private static URL | |
| private static String[] | |
| private static Attributes | |
| public static void | launchApplication(final Class<? extends Application>
application class appClass, final String[] command line arguments args)This method is called by the Application.launch method. |
| public static void | launchApplication(final Class<? extends Application>
application class appClass, final Class<? extends Preloader> preloader class, may be null preloaderClass, final String[] command line arguments args)This method is called by the standalone launcher. |
| public static void | launchApplication(final String
The path to a jar file, the application class name to launch,
or the module and optional class name to launch launchName, final String The method of launching the application, one of LM_JAR,
LM_CLASS, or LM_MODULE launchMode, final String[] Application arguments from the command line args)This method is called by the Java launcher. |
| private static void | launchApplication1(final Class<? extends Application> appClass, final Class<? extends Preloader> preloaderClass, final String[] args)
|
| public static void | launchApplicationWithArgs(final ModuleAccess mainModule, final String mainClassName, final String preloaderClassName, String[] args)
|
| private static Class | |
| private static void | |
| private static boolean | |
| public static void | |
| private static void | |
| private static void | notifyStateChange(final Preloader preloader, final Preloader.
|
| private static ClassLoader | |
| private static void |
| constructorError | back to summary |
|---|---|
| private static volatile Throwable constructorError | |
| currentPreloader | back to summary |
|---|---|
| private static Preloader currentPreloader | |
| error | back to summary |
|---|---|
| private static volatile boolean error | |
| initError | back to summary |
|---|---|
| private static volatile Throwable initError | |
| LAUNCH_MODE_CLASS | back to summary |
|---|---|
| public static final String LAUNCH_MODE_CLASS When passed as launchMode to launchApplication, tells the method that launchName is the name of the JavaFX application class to launch. | |
| LAUNCH_MODE_JAR | back to summary |
|---|---|
| public static final String LAUNCH_MODE_JAR When passed as launchMode to launchApplication, tells the method that launchName is a path to a JavaFX application jar file to be launched. | |
| LAUNCH_MODE_MODULE | back to summary |
|---|---|
| public static final String LAUNCH_MODE_MODULE When passed as launchMode to launchApplication, tells the method that launchName is the name of the JavaFX application class within a module to be launched. Either the class name will be provided or the main class will be defined in the module's descriptor. | |
| launchCalled | back to summary |
|---|---|
| private static AtomicBoolean launchCalled | |
| launchException | back to summary |
|---|---|
| private static volatile RuntimeException launchException | |
| MF_JAVAFX_ARGUMENT_PREFIX | back to summary |
|---|---|
| private static final String MF_JAVAFX_ARGUMENT_PREFIX | |
| MF_JAVAFX_CLASS_PATH | back to summary |
|---|---|
| private static final String MF_JAVAFX_CLASS_PATH | |
| MF_JAVAFX_MAIN | back to summary |
|---|---|
| private static final String MF_JAVAFX_MAIN | |
| MF_JAVAFX_PARAMETER_NAME_PREFIX | back to summary |
|---|---|
| private static final String MF_JAVAFX_PARAMETER_NAME_PREFIX | |
| MF_JAVAFX_PARAMETER_VALUE_PREFIX | back to summary |
|---|---|
| private static final String MF_JAVAFX_PARAMETER_VALUE_PREFIX | |
| MF_JAVAFX_PRELOADER | back to summary |
|---|---|
| private static final String MF_JAVAFX_PRELOADER | |
| MF_MAIN_CLASS | back to summary |
|---|---|
| private static final String MF_MAIN_CLASS | |
| pConstructorError | back to summary |
|---|---|
| private static volatile Throwable pConstructorError | |
| pInitError | back to summary |
|---|---|
| private static volatile Throwable pInitError | |
| pStartError | back to summary |
|---|---|
| private static volatile Throwable pStartError | |
| pStopError | back to summary |
|---|---|
| private static volatile Throwable pStopError | |
| savedMainCcl | back to summary |
|---|---|
| private static ClassLoader savedMainCcl | |
| savedPreloaderClass | back to summary |
|---|---|
| private static Class<? extends Preloader> savedPreloaderClass | |
| simulateSlowProgress | back to summary |
|---|---|
| private static final boolean simulateSlowProgress | |
| startError | back to summary |
|---|---|
| private static volatile Throwable startError | |
| stopError | back to summary |
|---|---|
| private static volatile Throwable stopError | |
| toolkitStarted | back to summary |
|---|---|
| private static final AtomicBoolean toolkitStarted | |
| trace | back to summary |
|---|---|
| private static final boolean trace | |
| verbose | back to summary |
|---|---|
| private static final boolean verbose | |
| LauncherImpl | back to summary |
|---|---|
| private LauncherImpl() | |
| abort | back to summary |
|---|---|
| private static void abort(final Throwable cause, final String fmt, final Object... args) | |
| decodeBase64 | back to summary |
|---|---|
| private static String decodeBase64(String inp) | |
| fileToURL | back to summary |
|---|---|
| private static URL fileToURL(File file) throws IOException | |
| getAppArguments | back to summary |
|---|---|
| private static String[] getAppArguments(Attributes attrs) | |
| getJarAttributes | back to summary |
|---|---|
| private static Attributes getJarAttributes(String jarPath) | |
| launchApplication | back to summary |
|---|---|
| public static void launchApplication(final Class<? extends Application> appClass, final String[] args) This method is called by the Application.launch method. It must not be called more than once or an exception will be thrown. Note that it is always called on a thread other than the FX application thread, since that thread is only created at startup.
| |
| launchApplication | back to summary |
|---|---|
| public static void launchApplication(final Class<? extends Application> appClass, final Class<? extends Preloader> preloaderClass, final String[] args) This method is called by the standalone launcher. It must not be called more than once or an exception will be thrown. Note that it is always called on a thread other than the FX application thread, since that thread is only created at startup.
| |
| launchApplication | back to summary |
|---|---|
| public static void launchApplication(final String launchName, final String launchMode, final String[] args) This method is called by the Java launcher. This allows us to be launched directly from the command line via "java -jar fxapp.jar", "java -cp path some.fx.App", or "java -m module/some.fx.App". The launchMode argument must be one of "LM_CLASS", "LM_JAR", or "LM_MODULE" or execution will abort with an error. | |
| launchApplication1 | back to summary |
|---|---|
| private static void launchApplication1(final Class<? extends Application> appClass, final Class<? extends Preloader> preloaderClass, final String[] args) throws Exception | |
| launchApplicationWithArgs | back to summary |
|---|---|
| public static void launchApplicationWithArgs(final ModuleAccess mainModule, final String mainClassName, final String preloaderClassName, String[] args) | |
| loadClass | back to summary |
|---|---|
| private static Class | |
| notifyCurrentPreloader | back to summary |
|---|---|
| private static void notifyCurrentPreloader(final Preloader. | |
| notifyError | back to summary |
|---|---|
| private static boolean notifyError(final String msg, final Throwable constructorError) | |
| notifyPreloader | back to summary |
|---|---|
| public static void notifyPreloader(Application app, final Preloader. | |
| notifyProgress | back to summary |
|---|---|
| private static void notifyProgress(final Preloader preloader, final double d) | |
| notifyStateChange | back to summary |
|---|---|
| private static void notifyStateChange(final Preloader preloader, final Preloader. | |
| setupJavaFXClassLoader | back to summary |
|---|---|
| private static ClassLoader setupJavaFXClassLoader(File appJar, String fxClassPath) | |
| startToolkit | back to summary |
|---|---|
| private static void startToolkit() throws InterruptedException | |