| Modifier and Type | Field and Description |
|---|---|
| private Menu | |
| private String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private boolean | |
| private long | |
| private boolean | |
| private final InvokeLaterDispatcher | |
| private boolean | |
| private static final CountDownLatch | |
| private final CountDownLatch | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | |
| private native Object | |
| private native void | |
| private native String | |
| private native String | |
| protected native int | _getKeyCodeForChar(char c, int hint)
Implements abstract com.
|
| pack-priv static native int | |
| private native Map | |
| private native void | |
| private native void | |
| pack-priv native long | |
| private static native void | |
| protected native void | |
| protected void | |
| protected native int | |
| private native boolean | |
| protected void | _leaveNestedEventLoop(Object retValue)
Implements abstract com.
|
| private native void | |
| pack-priv native void | |
| private native void | |
| protected boolean | |
| protected native boolean | |
| protected boolean | _supportsTransparentWindows()
Implements abstract com.
|
| protected boolean | |
| private native void | |
| public void | checkPlatformPreferencesSupport()
Overrides com. Checks whether there are any problems with platform preferences detection, and if so, emits a warning. |
| public Accessible | |
| public Cursor | |
| public Cursor | createCursor(int x, int y, Pixels pixels)
Implements abstract com.
|
| public Pixels | createPixels(int width, int height, ByteBuffer data)
Implements abstract com.
|
| public Pixels | createPixels(int width, int height, ByteBuffer data, float scalex, float scaley)
Implements abstract com.
|
| public Pixels | createPixels(int width, int height, IntBuffer data)
Implements abstract com.
|
| public Pixels | createPixels(int width, int height, IntBuffer data, float scalex, float scaley)
Implements abstract com.
|
| public GlassRobot | |
| public Timer | |
| public View | |
| public Window | createWindow(Window owner, Screen screen, int styleMask)
Implements abstract com. Create a window. |
| private static void | |
| protected void | |
| public Menu | |
| public String | getDataDirectory()
Overrides com. Gets a platform specific path that can be used to store application data. |
| public Map | getPlatformKeyMappings()
Overrides com. Returns a map of platform-specific keys to platform-independent keys defined by JavaFX, including a function that maps the platform-specific value to the platform-independent value. |
| public Map | getPlatformKeys()
Overrides com. Returns a mapping of platform-specific keys to the types of their values. |
| public Map | getPlatformPreferences()
Overrides com. Returns the current set of platform properties as a map of platform-specific keys to arbitrary values. |
| public void | |
| public void | installDefaultMenus(MenuBar menubar)
Overrides com. Install app's default native menus: on Mac OS X - Apple menu (showing the app name) with a single Quit menu item on Windows - NOP on Linux - NOP |
| pack-priv boolean | |
| private void | |
| protected void | |
| protected void | |
| protected void | |
| private void | |
| private static void | startKeepAliveThread()
Starts a non-daemon KeepAlive thread to ensure that the JavaFX toolkit keeps running until the toolkit exits. |
| protected CommonDialogs. | staticCommonDialogs_showFileChooser(Window owner, String folder, String filename, String title, int type, boolean multipleMode, CommonDialogs.
Implements abstract com.
|
| protected File | staticCommonDialogs_showFolderChooser(Window owner, String folder, String title)
Implements abstract com.
|
| protected Size | staticCursor_getBestSize(int width, int height)
Implements abstract com.
|
| protected void | staticCursor_setVisible(boolean visible)
Implements abstract com.
|
| protected int | staticPixels_getNativeFormat()
Implements abstract com.
|
| protected native Screen[] | |
| protected native double | |
| protected int | staticTimer_getMaxPeriod()
Implements abstract com.
|
| protected int | staticTimer_getMinPeriod()
Implements abstract com.
|
| protected int | staticView_getMultiClickMaxX()
Implements abstract com.
|
| protected int | staticView_getMultiClickMaxY()
Implements abstract com.
|
| protected long | staticView_getMultiClickTime()
Implements abstract com.
|
| public void | submitForLaterInvocation(Runnable r)
Implements com. Submits the runnable to the native system for later execution and returns immediately. |
| pack-priv void |
| appleMenu | back to summary |
|---|---|
| private Menu appleMenu | |
| applicationClassName | back to summary |
|---|---|
| private String applicationClassName | |
| AWT_APPEARANCE_PROPERTY | back to summary |
|---|---|
| private static final String AWT_APPEARANCE_PROPERTY | |
| AWT_APPLICATION_CLASS | back to summary |
|---|---|
| private static final String AWT_APPLICATION_CLASS | |
| AWT_SYSTEM_APPEARANCE | back to summary |
|---|---|
| private static final String AWT_SYSTEM_APPEARANCE | |
| checkSystemAppearance | back to summary |
|---|---|
| private boolean checkSystemAppearance | |
| delegateHandle | back to summary |
|---|---|
| private long delegateHandle | |
| firstDidResignActive | back to summary |
|---|---|
| private boolean firstDidResignActive | |
| invokeLaterDispatcher | back to summary |
|---|---|
| private final InvokeLaterDispatcher invokeLaterDispatcher | |
| isTaskbarApplication | back to summary |
|---|---|
| private boolean isTaskbarApplication | |
| keepAliveLatch | back to summary |
|---|---|
| private static final CountDownLatch keepAliveLatch | |
| reactivationLatch | back to summary |
|---|---|
| private final CountDownLatch reactivationLatch | |
| SUPPRESS_AWT_WARNING_PROPERTY | back to summary |
|---|---|
| private static final String SUPPRESS_AWT_WARNING_PROPERTY | |
| MacApplication | back to summary |
|---|---|
| pack-priv MacApplication() | |
| _enterNestedEventLoop | back to summary |
|---|---|
| protected Object _enterNestedEventLoop() Implements abstract com.
| |
| _enterNestedEventLoopImpl | back to summary |
|---|---|
| private native Object _enterNestedEventLoopImpl() | |
| _finishTerminating | back to summary |
|---|---|
| private native void _finishTerminating(long delegateHandle) | |
| _getApplicationClassName | back to summary |
|---|---|
| private native String _getApplicationClassName() | |
| _getDataDirectory | back to summary |
|---|---|
| private native String _getDataDirectory() | |
| _getKeyCodeForChar | back to summary |
|---|---|
| protected native int _getKeyCodeForChar(char c, int hint) Implements abstract com.
| |
| _getMacKey | back to summary |
|---|---|
| pack-priv static native int _getMacKey(int code) | |
| _getPlatformPreferences | back to summary |
|---|---|
| private native Map | |
| _hide | back to summary |
|---|---|
| private native void _hide() | |
| _hideOtherApplications | back to summary |
|---|---|
| private native void _hideOtherApplications() | |
| _initDelegate | back to summary |
|---|---|
| pack-priv native long _initDelegate(ClassLoader classLoader, Runnable launchable, boolean isTaskbarApplication) | |
| _initIDs | back to summary |
|---|---|
| private static native void _initIDs(boolean disableSyncRendering) | |
| _invokeAndWait | back to summary |
|---|---|
| protected native void _invokeAndWait(Runnable runnable) Implements abstract com.
| |
| _invokeLater | back to summary |
|---|---|
| protected void _invokeLater(Runnable runnable) Implements abstract com.
| |
| _isKeyLocked | back to summary |
|---|---|
| protected native int _isKeyLocked(int keyCode) Overrides com.
| |
| _isTriggerReactivation | back to summary |
|---|---|
| private native boolean _isTriggerReactivation() | |
| _leaveNestedEventLoop | back to summary |
|---|---|
| protected void _leaveNestedEventLoop(Object retValue) Implements abstract com.
| |
| _leaveNestedEventLoopImpl | back to summary |
|---|---|
| private native void _leaveNestedEventLoopImpl(Object retValue) | |
| _runLoop | back to summary |
|---|---|
| pack-priv native void _runLoop(long delegate) | |
| _submitForLaterInvocation | back to summary |
|---|---|
| private native void _submitForLaterInvocation(Runnable r) | |
| _supportsInputMethods | back to summary |
|---|---|
| protected boolean _supportsInputMethods() Overrides com.
| |
| _supportsSystemMenu | back to summary |
|---|---|
| protected native boolean _supportsSystemMenu() Overrides com.
| |
| _supportsTransparentWindows | back to summary |
|---|---|
| protected boolean _supportsTransparentWindows() Implements abstract com.
| |
| _supportsUnifiedWindows | back to summary |
|---|---|
| protected boolean _supportsUnifiedWindows() Implements abstract com.
| |
| _unhideAllApplications | back to summary |
|---|---|
| private native void _unhideAllApplications() | |
| checkPlatformPreferencesSupport | back to summary |
|---|---|
| public void checkPlatformPreferencesSupport() Overrides com. Doc from com. Checks whether there are any problems with platform preferences detection, and if so, emits a warning.
| |
| createAccessible | back to summary |
|---|---|
| public Accessible createAccessible() Overrides com.
| |
| createCursor | back to summary |
|---|---|
| public Cursor createCursor(int type) Implements abstract com.
| |
| createCursor | back to summary |
|---|---|
| public Cursor createCursor(int x, int y, Pixels pixels) Implements abstract com.
| |
| createPixels | back to summary |
|---|---|
| public Pixels createPixels(int width, int height, ByteBuffer data) Implements abstract com.
| |
| createPixels | back to summary |
|---|---|
| public Pixels createPixels(int width, int height, ByteBuffer data, float scalex, float scaley) Implements abstract com.
| |
| createPixels | back to summary |
|---|---|
| public Pixels createPixels(int width, int height, IntBuffer data) Implements abstract com.
| |
| createPixels | back to summary |
|---|---|
| public Pixels createPixels(int width, int height, IntBuffer data, float scalex, float scaley) Implements abstract com.
| |
| createRobot | back to summary |
|---|---|
| public GlassRobot createRobot() Implements abstract com.
| |
| createTimer | back to summary |
|---|---|
| public Timer createTimer(Runnable runnable) Implements abstract com.
| |
| createView | back to summary |
|---|---|
| public View createView() Implements abstract com.
| |
| createWindow | back to summary |
|---|---|
| public Window createWindow(Window owner, Screen screen, int styleMask) Implements abstract com. Doc from com. Create a window. The styleMask argument is a bitmask of window styles as defined in the Window class. Note, however, that visual kinds (UNTITLED, TITLED, or TRANSPARENT) can't be combined together. Also, functional types (NORMAL, POPUP, or UTILITY) can't be combined together. A window is allowed to be of exactly one visual kind, and exactly one functional type.
| |
| finishKeepAliveThread | back to summary |
|---|---|
| private static void finishKeepAliveThread() Terminates the KeepAlive thread. | |
| finishTerminating | back to summary |
|---|---|
| protected void finishTerminating() Overrides com.
| |
| getAppleMenu | back to summary |
|---|---|
| public Menu getAppleMenu() | |
| getDataDirectory | back to summary |
|---|---|
| public String getDataDirectory() Overrides com. Doc from com. Gets a platform specific path that can be used to store application data. The application name typically appears as part of the path. On some platforms, the path may not yet exist and the caller will need to create it. | |
| getPlatformKeyMappings | back to summary |
|---|---|
| public Map Overrides com. Doc from com. Returns a map of platform-specific keys to platform-independent keys defined by JavaFX, including a function that maps the platform-specific value to the platform-independent value. For example, the platform-specific key "Windows.UIColor.Foreground" is mapped to the key "foregroundColor", which makes it easier to write shared code without depending on platform-specific details.
The following platform-independent keys are currently supported, which correspond to the names of
properties on the
| |
| getPlatformKeys | back to summary |
|---|---|
| public Map Overrides com. Doc from com. Returns a mapping of platform-specific keys to the types of their values.
Polymorphic types are supported by specifying the common base type; for example, a key can
be mapped to
Implementors must keep this map in sync with the mappings reported by the native Glass toolkit.
If a native toolkit reports mappings for keys that are not contained in this map, the typed getters
in | |
| getPlatformPreferences | back to summary |
|---|---|
| public Map Overrides com. Doc from com. Returns the current set of platform properties as a map of platform-specific keys to
arbitrary values. This is a snapshot, and won't be updated. There are no guarantees on
the implementation type, modifiability or serializability of the returned | |
| installAppleMenu | back to summary |
|---|---|
| public void installAppleMenu(MenuBar menubar) | |
| installDefaultMenus | back to summary |
|---|---|
| public void installDefaultMenus(MenuBar menubar) Overrides com. Doc from com. Install app's default native menus: on Mac OS X - Apple menu (showing the app name) with a single Quit menu item on Windows - NOP on Linux - NOP
| |
| isTriggerReactivation | back to summary |
|---|---|
| pack-priv boolean isTriggerReactivation() | |
| notifyApplicationDidTerminate | back to summary |
|---|---|
| private void notifyApplicationDidTerminate() | |
| notifyDidBecomeActive | back to summary |
|---|---|
| protected void notifyDidBecomeActive() Overrides com.
| |
| notifyDidResignActive | back to summary |
|---|---|
| protected void notifyDidResignActive() Overrides com.
| |
| runLoop | back to summary |
|---|---|
| protected void runLoop(final Runnable launchable) Implements abstract com.
| |
| setEventThread | back to summary |
|---|---|
| private void setEventThread() | |
| startKeepAliveThread | back to summary |
|---|---|
| private static void startKeepAliveThread() Starts a non-daemon KeepAlive thread to ensure that the JavaFX toolkit keeps running until the toolkit exits. On other platforms, the JavaFX Application Thread is created as a non-daemon Java thread when the toolkit starts. On macOS, we use the existing AppKit thread as the JavaFX Application thread, and attach it to the JVM as a daemon thread. In the case of Swing / JavaFX interop, AWT attaches the AppKit thread as a daemon thread. Since there is no other non-daemon thread, we create one so that the JavaFX toolkit will not exit prematurely. | |
| staticCommonDialogs_showFileChooser | back to summary |
|---|---|
| protected CommonDialogs. Implements abstract com.
| |
| staticCommonDialogs_showFolderChooser | back to summary |
|---|---|
| protected File staticCommonDialogs_showFolderChooser(Window owner, String folder, String title) Implements abstract com.
| |
| staticCursor_getBestSize | back to summary |
|---|---|
| protected Size staticCursor_getBestSize(int width, int height) Implements abstract com.
| |
| staticCursor_setVisible | back to summary |
|---|---|
| protected void staticCursor_setVisible(boolean visible) Implements abstract com.
| |
| staticPixels_getNativeFormat | back to summary |
|---|---|
| protected int staticPixels_getNativeFormat() Implements abstract com.
| |
| staticScreen_getScreens | back to summary |
|---|---|
| protected native Screen[] staticScreen_getScreens() Implements abstract com.
| |
| staticScreen_getVideoRefreshPeriod | back to summary |
|---|---|
| protected native double staticScreen_getVideoRefreshPeriod() Implements abstract com.
| |
| staticTimer_getMaxPeriod | back to summary |
|---|---|
| protected int staticTimer_getMaxPeriod() Implements abstract com.
| |
| staticTimer_getMinPeriod | back to summary |
|---|---|
| protected int staticTimer_getMinPeriod() Implements abstract com.
| |
| staticView_getMultiClickMaxX | back to summary |
|---|---|
| protected int staticView_getMultiClickMaxX() Implements abstract com.
| |
| staticView_getMultiClickMaxY | back to summary |
|---|---|
| protected int staticView_getMultiClickMaxY() Implements abstract com.
| |
| staticView_getMultiClickTime | back to summary |
|---|---|
| protected long staticView_getMultiClickTime() Implements abstract com.
| |
| submitForLaterInvocation | back to summary |
|---|---|
| public void submitForLaterInvocation(Runnable r) Implements com. Doc from com. Submits the runnable to the native system for later execution and returns immediately.
| |
| waitForReactivation | back to summary |
|---|---|
| pack-priv void waitForReactivation() | |