| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final boolean | |
| private static final Method | |
| private static final Method | |
| private static final boolean | |
| private static final boolean | |
| private static final Method | |
| private static final boolean | |
| public static final int | JAWT_MACOSX_USE_CALAYER
OSX JAWT version option to use CALayer |
| public static final VersionNumber | JAWT_MacOSXCALayerMinVersion
OSX JAWT CALayer availability on Mac OS X >= 10.6 Update 4 (recommended) |
| public static final VersionNumber | JAWT_MacOSXCALayerRequiredForJavaVersion
OSX JAWT CALayer required with Java >= 1.7.0 (implies OS X >= 10.7 |
| public static final int | JAWT_OSX_CALAYER_QUIRK_LAYOUT
CALayer position needs to be derived from AWT position in relation to super CALayer. |
| public static final int | JAWT_OSX_CALAYER_QUIRK_POSITION
CALayer position needs to be set to zero. |
| public static final int | JAWT_OSX_CALAYER_QUIRK_SIZE
CALayer size needs to be set using the AWT component size. |
| private static final RecursiveLock | |
| private static final JAWT | |
| private static final ToolkitLock | |
| private static final boolean | |
| private static final Method | |
| private static final Method |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static AbstractGraphicsDevice | Returns: AbstractGraphicsDevice instance reflecting theawtCompmust be awtComp)displayable
and must have a GraphicsConfiguration
|
| public static AbstractGraphicsScreen | Returns: AbstractGraphicsScreen instance reflecting theawtCompmust be awtComp)displayable
and must have a GraphicsConfiguration
|
| public static JAWT | |
| public static ToolkitLock | |
| public static final int | |
| public static int | |
| public static final boolean | Returns: true if the given min and max scale values have changed, otherwise false.the device, final float[] GraphicsDevice instance used to query the pixel scalecurrent and output min scale values minScale, final float[] current and output max scale values maxScale)Returns the pixel scale factor of the given |
| public static final boolean | Returns: true if the given min and max scale values have changed, otherwise false.the gc, final float[] GraphicsConfiguration instance used to query the pixel scalecurrent and output min scale values minScale, final float[] current and output max scale values maxScale)Returns the pixel scale factor of the given |
| private static String | |
| public static boolean | |
| public static void | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | isOffscreenLayerRequired()
Returns true if this platform's JAWT implementation requires using offscreen layer. |
| public static boolean | isOffscreenLayerSupported()
Returns true if this platform's JAWT implementation supports offscreen layer. |
| public static void | |
| public static void | |
| private static String | |
| public static void | |
| public static final void |
| DEBUG | back to summary |
|---|---|
| public static final boolean DEBUG | |
| getCGDisplayIDMethodOnOSX | back to summary |
|---|---|
| private static final Method getCGDisplayIDMethodOnOSX | |
| getScaleFactorMethod | back to summary |
|---|---|
| private static final Method getScaleFactorMethod | |
| hasSunToolkitAWTLock | back to summary |
|---|---|
| private static final boolean hasSunToolkitAWTLock | |
| headlessMode | back to summary |
|---|---|
| private static final boolean headlessMode | |
| isQueueFlusherThread | back to summary |
|---|---|
| private static final Method isQueueFlusherThread | |
| j2dExist | back to summary |
|---|---|
| private static final boolean j2dExist | |
| JAWT_MACOSX_USE_CALAYER | back to summary |
|---|---|
| public static final int JAWT_MACOSX_USE_CALAYER OSX JAWT version option to use CALayer | |
| JAWT_MacOSXCALayerMinVersion | back to summary |
|---|---|
| public static final VersionNumber JAWT_MacOSXCALayerMinVersion OSX JAWT CALayer availability on Mac OS X >= 10.6 Update 4 (recommended) | |
| JAWT_MacOSXCALayerRequiredForJavaVersion | back to summary |
|---|---|
| public static final VersionNumber JAWT_MacOSXCALayerRequiredForJavaVersion OSX JAWT CALayer required with Java >= 1.7.0 (implies OS X >= 10.7 | |
| JAWT_OSX_CALAYER_QUIRK_LAYOUT | back to summary |
|---|---|
| public static final int JAWT_OSX_CALAYER_QUIRK_LAYOUT CALayer position needs to be derived from AWT position in relation to super CALayer. AWT's super-calayer, i.e. the AWT top-container's CALayer, does not layout our root-calayer in respect to this component's position and size, at least when resizing programmatically. CALayer position has origin 0/0 at bottom/left, where AWT component has origin 0/0 at top/left. The super-calayer bounds exclude the frame's heavyweight border/insets. The super-calayer lies within the AWT top-container client space (content). Component's location in super-calayer:
p0 = c.locationOnScreen();
p0 -= c.getOutterComp.getPos();
p0 -= c.getOutterComp.getInsets();
Where 'locationOnScreen()' is:
p0 = 0/0;
while( null != c ) {
p0 += c.getPos();
}
This flags also sets As of today, this flag is enabled for w/ AWT >= 1.7.0_40. Sync w/ NativeWindowProtocols.h | |
| JAWT_OSX_CALAYER_QUIRK_POSITION | back to summary |
|---|---|
| public static final int JAWT_OSX_CALAYER_QUIRK_POSITION CALayer position needs to be set to zero. AWT's super-calayer, i.e. the AWT's own component CALayer, has a broken layout and needs it's sub-layers to be located at position 0/0.
See Further more a re-layout seems to be required in this case, i.e. a programmatic forced resize +1 and it's inverted resize -1. This flag is enabled w/ AWT < 1.7.0_40. Sync w/ NativeWindowProtocols.h | |
| JAWT_OSX_CALAYER_QUIRK_SIZE | back to summary |
|---|---|
| public static final int JAWT_OSX_CALAYER_QUIRK_SIZE CALayer size needs to be set using the AWT component size. AWT's super-calayer, i.e. the AWT's own component CALayer, does not layout our root-calayer in respect to this component's position and size, at least when resizing programmatically. As of today, this flag is enabled for all known AWT versions. Sync w/ NativeWindowProtocols.h | |
| jawtLock | back to summary |
|---|---|
| private static final RecursiveLock jawtLock | |
| jawtLockObject | back to summary |
|---|---|
| private static final JAWT jawtLockObject | |
| jawtToolkitLock | back to summary |
|---|---|
| private static final ToolkitLock jawtToolkitLock | |
| SKIP_AWT_HIDPI | back to summary |
|---|---|
| private static final boolean SKIP_AWT_HIDPI | |
| sunToolkitAWTLockMethod | back to summary |
|---|---|
| private static final Method sunToolkitAWTLockMethod | |
| sunToolkitAWTUnlockMethod | back to summary |
|---|---|
| private static final Method sunToolkitAWTUnlockMethod | |
| JAWTUtil | back to summary |
|---|---|
| public JAWTUtil() | |
| createDevice | back to summary |
|---|---|
public static AbstractGraphicsDevice createDevice(final Component awtComp) throws IllegalArgumentException
| |
| getAbstractGraphicsScreen | back to summary |
|---|---|
public static AbstractGraphicsScreen getAbstractGraphicsScreen(final Component awtComp) throws IllegalArgumentException
| |
| getJAWT | back to summary |
|---|---|
| public static JAWT getJAWT(final boolean useOffscreenLayerIfAvailable) | |
| getJAWTToolkitLock | back to summary |
|---|---|
| public static ToolkitLock getJAWTToolkitLock() | |
| getMonitorDisplayID | back to summary |
|---|---|
| public static final int getMonitorDisplayID(final GraphicsDevice device) | |
| getOSXCALayerQuirks | back to summary |
|---|---|
| public static int getOSXCALayerQuirks() Returns bitfield of required JAWT OSX CALayer quirks to mediate AWT impl. bugs.
Returns zero, if platform is not Otherwise includes
| |
| getPixelScale | back to summary |
|---|---|
| public static final boolean getPixelScale(final GraphicsDevice device, final float[] minScale, final float[] maxScale) Returns the pixel scale factor of the given
If the component does not support pixel scaling the default
Note Currently only supported on OSX since 1.7.0_40 for HiDPI retina displays
| |
| getPixelScale | back to summary |
|---|---|
| public static final boolean getPixelScale(final GraphicsConfiguration gc, final float[] minScale, final float[] maxScale) Returns the pixel scale factor of the given
If the
If the component does not support pixel scaling the default
Note Currently only supported on OSX since 1.7.0_40 for HiDPI retina displays
| |
| getThreadName | back to summary |
|---|---|
| private static String getThreadName() | |
| hasJava2D | back to summary |
|---|---|
| public static boolean hasJava2D() | |
| initSingleton | back to summary |
|---|---|
| public static void initSingleton() Called by | |
| isHeadlessMode | back to summary |
|---|---|
| public static boolean isHeadlessMode() | |
| isJava2DQueueFlusherThread | back to summary |
|---|---|
| public static boolean isJava2DQueueFlusherThread() | |
| isJAWTUsingOffscreenLayer | back to summary |
|---|---|
| public static boolean isJAWTUsingOffscreenLayer(final JAWT jawt) | |
| isOffscreenLayerRequired | back to summary |
|---|---|
| public static boolean isOffscreenLayerRequired() Returns true if this platform's JAWT implementation requires using offscreen layer. | |
| isOffscreenLayerSupported | back to summary |
|---|---|
| public static boolean isOffscreenLayerSupported() Returns true if this platform's JAWT implementation supports offscreen layer. | |
| lockToolkit | back to summary |
|---|---|
| public static void lockToolkit() throws NativeWindowException Locks the AWT's global ReentrantLock. JAWT's native Lock() function calls SunToolkit.awtLock(), which just uses AWT's global ReentrantLock. AWT locking is wrapped through a recursive lock object. | |
| shutdown | back to summary |
|---|---|
| public static void shutdown() Called by | |
| toHexString | back to summary |
|---|---|
| private static String toHexString(final long val) | |
| unlockToolkit | back to summary |
|---|---|
| public static void unlockToolkit() Unlocks the AWT's global ReentrantLock. JAWT's native Unlock() function calls SunToolkit.awtUnlock(), which just uses AWT's global ReentrantLock. AWT unlocking is wrapped through a recursive lock object. | |
| validateLocked | back to summary |
|---|---|
| public static final void validateLocked() throws RuntimeException | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Method | |
| pack-priv Method | |
| pack-priv boolean | |
| pack-priv Method | |
| pack-priv Method |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| getCGDisplayIDMethodOnOSX | back to summary |
|---|---|
| pack-priv Method getCGDisplayIDMethodOnOSX | |
| getScaleFactorMethod | back to summary |
|---|---|
| pack-priv Method getScaleFactorMethod | |
| ok | back to summary |
|---|---|
| pack-priv boolean ok | |
| sunToolkitAWTLockMethod | back to summary |
|---|---|
| pack-priv Method sunToolkitAWTLockMethod | |
| sunToolkitAWTUnlockMethod | back to summary |
|---|---|
| pack-priv Method sunToolkitAWTUnlockMethod | |
| PrivilegedDataBlob1 | back to summary |
|---|---|
| pack-priv PrivilegedDataBlob1() | |