| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static BooleanProperty | |
| private static String | |
| private static CountDownLatch | |
| private static String | |
| private static boolean | |
| private static final boolean | |
| private static Set | |
| private static volatile boolean | |
| private static Boolean | |
| private static Boolean | |
| private static Boolean | |
| private static Boolean | |
| private static Boolean | |
| private static volatile boolean | |
| private static AtomicBoolean | |
| private static boolean | |
| private static Boolean | |
| private static Boolean | |
| private static Boolean | |
| private static Boolean | |
| private static boolean | |
| private static Boolean | |
| private static Boolean | |
| private static boolean | |
| private static Boolean | |
| private static volatile boolean | |
| private static AtomicBoolean | |
| public static final int | MAX_NESTED_EVENT_LOOPS
The maximum number of nested event loops. |
| private static AtomicInteger | |
| private static AtomicInteger | |
| private static AtomicBoolean | |
| private static final CountDownLatch | |
| private static final PlatformPreferences | |
| private static AtomicBoolean | |
| private static final Object | |
| private static CountDownLatch | |
| private static boolean | |
| private static AtomicBoolean | |
| private static TKListener | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | |
| public static BooleanProperty | |
| private static void | |
| public static void | |
| public static void | |
| private static Boolean | |
| private static void | |
| private static void | |
| public static void | checkPreferencesSupport()
Emits a one-time warning on macOS if we're running with AWT and the "apple.awt.application.appearance=system" property is not set (see JDK-8235363). |
| public static void | |
| public static PlatformPreferences | |
| private static void | |
| private static void | |
| public static void | initPreferences(Map<String, Class<?>> platformKeys, Map<String, PreferenceMapping<?, ?>>
a map of platform-specific keys to well-known keys platformKeyMappings, Map<String, Object> the initial set of platform preferences preferences)Called by Glass when the toolkit is initialized. |
| private static void | |
| private static void | |
| public static boolean | Returns: true if using caspian stylesheetCurrent Platform User Agent Stylesheet is Caspian. |
| public static boolean | Returns: true if the context-sensitive algorithm for focus navigation is usedReturn whether or not focus navigation between controls is context- sensitive. |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| private static boolean | |
| public static boolean | Returns: the current state of the flag.Returns the current value of the taskBarApplication flag. |
| private static void | |
| private static void | |
| public static void | |
| public static void | |
| private static void | |
| public static void | |
| private static void | |
| public static boolean | |
| public static void | setApplicationName(final Class<T>
the Application class. appClass)Sets the name of the this application based on the Application class. |
| public static void | |
| public static void | |
| public static void | setPlatformUserAgentStylesheet(final String stylesheetUrl)
Set the platform user agent stylesheet to the given URL. |
| public static void | setTaskbarApplication(boolean
the new value of this attribute taskbarApplication)Set a flag indicating whether this application should show up in the task bar. |
| public static void | |
| public static void | |
| pack-priv static CountDownLatch | |
| public static void | |
| public static void | updatePreferences(Map<String, Object>
a map that includes the changed preferences preferences)Called by Glass when one or several platform preferences have changed. |
| private static void |
| accessibilityActive | back to summary |
|---|---|
| private static BooleanProperty accessibilityActive | |
| accessibilityTheme | back to summary |
|---|---|
| private static String accessibilityTheme | |
| allNestedLoopsExitedLatch | back to summary |
|---|---|
| private static CountDownLatch allNestedLoopsExitedLatch | |
| applicationType | back to summary |
|---|---|
| private static String applicationType | |
| contextual2DNavigation | back to summary |
|---|---|
| private static boolean contextual2DNavigation | |
| DEBUG | back to summary |
|---|---|
| private static final boolean DEBUG | |
| finishListeners | back to summary |
|---|---|
| private static Set<PlatformImpl. | |
| firstWindowShown | back to summary |
|---|---|
| private static volatile boolean firstWindowShown | |
| hasMultiTouch | back to summary |
|---|---|
| private static Boolean hasMultiTouch | |
| hasPointer | back to summary |
|---|---|
| private static Boolean hasPointer | |
| hasTouch | back to summary |
|---|---|
| private static Boolean hasTouch | |
| hasTwoLevelFocus | back to summary |
|---|---|
| private static Boolean hasTwoLevelFocus | |
| hasVirtualKeyboard | back to summary |
|---|---|
| private static Boolean hasVirtualKeyboard | |
| implicitExit | back to summary |
|---|---|
| private static volatile boolean implicitExit | |
| initialized | back to summary |
|---|---|
| private static AtomicBoolean initialized | |
| isCaspian | back to summary |
|---|---|
| private static boolean isCaspian | |
| isControlsSupported | back to summary |
|---|---|
| private static Boolean isControlsSupported | |
| isFXMLSupported | back to summary |
|---|---|
| private static Boolean isFXMLSupported | |
| isGraphicsSupported | back to summary |
|---|---|
| private static Boolean isGraphicsSupported | |
| isMediaSupported | back to summary |
|---|---|
| private static Boolean isMediaSupported | |
| isModena | back to summary |
|---|---|
| private static boolean isModena | |
| isSwingSupported | back to summary |
|---|---|
| private static Boolean isSwingSupported | |
| isSWTSupported | back to summary |
|---|---|
| private static Boolean isSWTSupported | |
| isThreadMerged | back to summary |
|---|---|
| private static boolean isThreadMerged | |
| isWebSupported | back to summary |
|---|---|
| private static Boolean isWebSupported | |
| lastWindowClosed | back to summary |
|---|---|
| private static volatile boolean lastWindowClosed | |
| listenersRegistered | back to summary |
|---|---|
| private static AtomicBoolean listenersRegistered | |
| MAX_NESTED_EVENT_LOOPS | back to summary |
|---|---|
| public static final int MAX_NESTED_EVENT_LOOPS The maximum number of nested event loops. | |
| numWindows | back to summary |
|---|---|
| private static AtomicInteger numWindows | |
| pendingRunnables | back to summary |
|---|---|
| private static AtomicInteger pendingRunnables | |
| platformExit | back to summary |
|---|---|
| private static AtomicBoolean platformExit | |
| platformExitLatch | back to summary |
|---|---|
| private static final CountDownLatch platformExitLatch | |
| platformPreferences | back to summary |
|---|---|
| private static final PlatformPreferences platformPreferences | |
| reallyIdle | back to summary |
|---|---|
| private static AtomicBoolean reallyIdle | |
| runLaterLock | back to summary |
|---|---|
| private static final Object runLaterLock | |
| startupLatch | back to summary |
|---|---|
| private static CountDownLatch startupLatch | |
| taskbarApplication | back to summary |
|---|---|
| private static boolean taskbarApplication | |
| toolkitExit | back to summary |
|---|---|
| private static AtomicBoolean toolkitExit | |
| toolkitListener | back to summary |
|---|---|
| private static TKListener toolkitListener | |
| verbose | back to summary |
|---|---|
| private static final boolean verbose | |
| PlatformImpl | back to summary |
|---|---|
| public PlatformImpl() | |
| _setAccessibilityTheme | back to summary |
|---|---|
| private static void _setAccessibilityTheme(String platformTheme) | |
| _setPlatformUserAgentStylesheet | back to summary |
|---|---|
| private static void _setPlatformUserAgentStylesheet(String stylesheetUrl) | |
| accessibilityActiveProperty | back to summary |
|---|---|
| public static BooleanProperty accessibilityActiveProperty() | |
| addExportsToFXCanvas | back to summary |
|---|---|
| private static void addExportsToFXCanvas(Class<?> fxCanvasClass) | |
| addListener | back to summary |
|---|---|
| public static void addListener(PlatformImpl. | |
| addNoTransparencyStylesheetToScene | back to summary |
|---|---|
| public static void addNoTransparencyStylesheetToScene(final Scene scene) | |
| checkForClass | back to summary |
|---|---|
| private static Boolean checkForClass(String classname) | |
| checkHighContrastThemeChanged | back to summary |
|---|---|
| private static void checkHighContrastThemeChanged(Map<String, Object> preferences) | |
| checkIdle | back to summary |
|---|---|
| private static void checkIdle() | |
| checkPreferencesSupport | back to summary |
|---|---|
| public static void checkPreferencesSupport() Emits a one-time warning on macOS if we're running with AWT and the "apple.awt.application.appearance=system" property is not set (see JDK-8235363). | |
| exit | back to summary |
|---|---|
| public static void exit() | |
| getPlatformPreferences | back to summary |
|---|---|
| public static PlatformPreferences getPlatformPreferences() | |
| initDeviceDetailsFXCanvas | back to summary |
|---|---|
| private static void initDeviceDetailsFXCanvas() | |
| initFXCanvas | back to summary |
|---|---|
| private static void initFXCanvas() | |
| initPreferences | back to summary |
|---|---|
| public static void initPreferences(Map<String, Class<?>> platformKeys, Map<String, PreferenceMapping<?, ?>> platformKeyMappings, Map<String, Object> preferences) Called by Glass when the toolkit is initialized. | |
| installFwEventQueue | back to summary |
|---|---|
| private static void installFwEventQueue() | |
| invokeSwingFXUtilsMethod | back to summary |
|---|---|
| private static void invokeSwingFXUtilsMethod(final String methodName) | |
| isCaspian | back to summary |
|---|---|
| public static boolean isCaspian() Current Platform User Agent Stylesheet is Caspian. Note Please think hard before using this as we really want to avoid special cases in the platform for specific themes. This was added to allow tempory work arounds in the platform for bugs.
| |
| isContextual2DNavigation | back to summary |
|---|---|
| public static boolean isContextual2DNavigation() Return whether or not focus navigation between controls is context- sensitive.
| |
| isFxApplicationThread | back to summary |
|---|---|
| public static boolean isFxApplicationThread() | |
| isImplicitExit | back to summary |
|---|---|
| public static boolean isImplicitExit() | |
| isModena | back to summary |
|---|---|
| public static boolean isModena() Current Platform User Agent Stylesheet is Modena. Note Please think hard before using this as we really want to avoid special cases in the platform for specific themes. This was added to allow tempory work arounds in the platform for bugs.
| |
| isSupported | back to summary |
|---|---|
| public static boolean isSupported(ConditionalFeature feature) | |
| isSupportedImpl | back to summary |
|---|---|
| private static boolean isSupportedImpl(ConditionalFeature feature) | |
| isTaskbarApplication | back to summary |
|---|---|
| public static boolean isTaskbarApplication() Returns the current value of the taskBarApplication flag.
| |
| notifyFinishListeners | back to summary |
|---|---|
| private static void notifyFinishListeners(boolean exitCalled) | |
| removeFwEventQueue | back to summary |
|---|---|
| private static void removeFwEventQueue() | |
| removeListener | back to summary |
|---|---|
| public static void removeListener(PlatformImpl. | |
| runAndWait | back to summary |
|---|---|
| public static void runAndWait(final Runnable r) | |
| runAndWait | back to summary |
|---|---|
| private static void runAndWait(final Runnable r, boolean exiting) | |
| runLater | back to summary |
|---|---|
| public static void runLater(final Runnable r) | |
| runLater | back to summary |
|---|---|
| private static void runLater(final Runnable r, boolean exiting) | |
| setAccessibilityTheme | back to summary |
|---|---|
| public static boolean setAccessibilityTheme(String platformTheme) | |
| setApplicationName | back to summary |
|---|---|
| public static void setApplicationName(final Class<T> appClass) Sets the name of the this application based on the Application class. This method is called by the launcher, and is not called from the FX Application Thread, so we need to do it in a runLater. We do not need to wait for the result since it will complete before the Application start() method is called regardless.
| |
| setDefaultPlatformUserAgentStylesheet | back to summary |
|---|---|
| public static void setDefaultPlatformUserAgentStylesheet() Set the platform user agent stylesheet to the default. | |
| setImplicitExit | back to summary |
|---|---|
| public static void setImplicitExit(boolean implicitExit) | |
| setPlatformUserAgentStylesheet | back to summary |
|---|---|
| public static void setPlatformUserAgentStylesheet(final String stylesheetUrl) Set the platform user agent stylesheet to the given URL. This method has special handling for platform theme name constants. | |
| setTaskbarApplication | back to summary |
|---|---|
| public static void setTaskbarApplication(boolean taskbarApplication) Set a flag indicating whether this application should show up in the task bar. The default value is true.
| |
| startup | back to summary |
|---|---|
| public static void startup(final Runnable r) This method is invoked typically on the main thread. At this point, the JavaFX Application Thread has not been started. Any attempt to call startup more than once results in all subsequent calls turning into nothing more than a runLater call with the provided Runnable being called. | |
| startup | back to summary |
|---|---|
| public static void startup(final Runnable r, boolean preventDuplicateCalls) This method is invoked typically on the main thread. At this point, the JavaFX Application Thread has not been started. If preventDuplicateCalls is true, calling this method multiple times will result in an IllegalStateException. If it is false, calling this method multiple times will result in all subsequent calls turning into nothing more than a runLater call with the provided Runnable being called. | |
| test_getPlatformExitLatch | back to summary |
|---|---|
| pack-priv static CountDownLatch test_getPlatformExitLatch() | |
| tkExit | back to summary |
|---|---|
| public static void tkExit() | |
| updatePreferences | back to summary |
|---|---|
| public static void updatePreferences(Map<String, Object> preferences) Called by Glass when one or several platform preferences have changed.
This method can be called on any thread. The supplied | |
| waitForStart | back to summary |
|---|---|
| private static void waitForStart() | |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| exitCalled | back to summary |
|---|---|
| public void exitCalled() | |
| idle | back to summary |
|---|---|
| public void idle(boolean implicitExit) | |