Class NoApi
java.lang.Object
ch.swingfx.window.translucentandshaped.NoApi
- All Implemented Interfaces:
ITranslucentAndShapedWindowApi
Class that represents no support for translucent and shaped windows because there is no api we can wrap.
You shouldn't use this class directly. Instead use
Note: Only Sun/Oracle JREs support sun.awt.AWTUtilities. Other JDK/JREs (example OpenJDK) do not support the private API
You shouldn't use this class directly. Instead use
TranslucentAndShapedWindowApiFactory to
get the correct instance depending on your system JRE. For more details see
http://download.oracle.com/javase/tutorial/uiswing/misc/trans_shaped_windows.html#6u10Note: Only Sun/Oracle JREs support sun.awt.AWTUtilities. Other JDK/JREs (example OpenJDK) do not support the private API
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetWindowOpacity(Window window) getWindowShape(Window window) booleanbooleanisTranslucencySupported(Translucency translucencyKind, GraphicsDevice gd) booleanisWindowOpaque(Window window) voidsetWindowOpacity(Window window, float opacity) voidsetWindowOpaque(Window window, boolean isOpaque) voidsetWindowShape(Window window, Shape shape)
-
Constructor Details
-
NoApi
public NoApi()
-
-
Method Details
-
isTranslucencySupported
- Specified by:
isTranslucencySupportedin interfaceITranslucentAndShapedWindowApi
-
setWindowOpacity
- Specified by:
setWindowOpacityin interfaceITranslucentAndShapedWindowApi
-
getWindowOpacity
- Specified by:
getWindowOpacityin interfaceITranslucentAndShapedWindowApi
-
setWindowShape
- Specified by:
setWindowShapein interfaceITranslucentAndShapedWindowApi
-
getWindowShape
- Specified by:
getWindowShapein interfaceITranslucentAndShapedWindowApi
-
setWindowOpaque
- Specified by:
setWindowOpaquein interfaceITranslucentAndShapedWindowApi
-
isWindowOpaque
- Specified by:
isWindowOpaquein interfaceITranslucentAndShapedWindowApi
-
isTranslucencyCapable
- Specified by:
isTranslucencyCapablein interfaceITranslucentAndShapedWindowApi
-
getApiType
- Specified by:
getApiTypein interfaceITranslucentAndShapedWindowApi
-