Interface ITranslucentAndShapedWindowApi
-
- All Known Implementing Classes:
NoApi
,OfficialApi
,PrivateApi
public interface ITranslucentAndShapedWindowApi
Support for Translucent and Shaped Windows. It unifies the private (java 6) and official (java 7 and upwards) apis.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiType
getApiType()
float
getWindowOpacity(java.awt.Window window)
java.awt.Shape
getWindowShape(java.awt.Window window)
boolean
isTranslucencyCapable(java.awt.GraphicsConfiguration gc)
boolean
isTranslucencySupported(Translucency translucencyKind, java.awt.GraphicsDevice gd)
boolean
isWindowOpaque(java.awt.Window window)
void
setWindowOpacity(java.awt.Window window, float opacity)
void
setWindowOpaque(java.awt.Window window, boolean isOpaque)
void
setWindowShape(java.awt.Window window, java.awt.Shape shape)
-
-
-
Method Detail
-
isTranslucencySupported
boolean isTranslucencySupported(Translucency translucencyKind, java.awt.GraphicsDevice gd)
-
setWindowOpacity
void setWindowOpacity(java.awt.Window window, float opacity)
-
getWindowOpacity
float getWindowOpacity(java.awt.Window window)
-
setWindowShape
void setWindowShape(java.awt.Window window, java.awt.Shape shape)
-
getWindowShape
java.awt.Shape getWindowShape(java.awt.Window window)
-
setWindowOpaque
void setWindowOpaque(java.awt.Window window, boolean isOpaque)
-
isWindowOpaque
boolean isWindowOpaque(java.awt.Window window)
-
isTranslucencyCapable
boolean isTranslucencyCapable(java.awt.GraphicsConfiguration gc)
-
getApiType
ApiType getApiType()
-
-