Class TranslucentAndShapedWindowApiFactory
java.lang.Object
ch.swingfx.window.translucentandshaped.TranslucentAndShapedWindowApiFactory
Factory for creating
Prior to JRE 6 update 10 there is no support for this. As of JRE 6u10 there is support in private APIs. As of JRE 7 there is official support for this.
This factory figures out which one to use.
Note: Only Sun/Oracle JREs support sun.awt.AWTUtilities. Other JDK/JREs (example OpenJDK) do not support the private API
ITranslucentAndShapedWindowApi
objects depending on the JREPrior to JRE 6 update 10 there is no support for this. As of JRE 6u10 there is support in private APIs. As of JRE 7 there is official support for this.
This factory figures out which one to use.
Note: Only Sun/Oracle JREs support sun.awt.AWTUtilities. Other JDK/JREs (example OpenJDK) do not support the private API
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetApi()
get a singleton instance of anITranslucentAndShapedWindowApi
object.
-
Field Details
-
api
-
-
Constructor Details
-
TranslucentAndShapedWindowApiFactory
public TranslucentAndShapedWindowApiFactory()
-
-
Method Details
-
getApi
get a singleton instance of anITranslucentAndShapedWindowApi
object.- Returns:
- a singleton instance of an
ITranslucentAndShapedWindowApi
object
-