public class Java7Workaround extends Java6Workaround
| Constructor and Description |
|---|
Java7Workaround() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
setTranslucent(Window window)
Makes the window
window translucent. |
boolean |
setTransparent(Window window,
Shape shape)
Makes the window
window transparent in all the regions that are not inside shape. |
boolean |
supportsPerpixelTranslucency(Window window)
Tells whether this
Workaround has the ability to make window translucent. |
boolean |
supportsPerpixelTransparency(Window window)
Tells whether this
Workaround has the ability to make window transparent. |
isPrintWarnings, markAsGlassPane, setPrintWarnings, setuppublic boolean supportsPerpixelTransparency(Window window)
WorkaroundWorkaround has the ability to make window transparent.
Transparent means that some pixels of the window cannot be seen.supportsPerpixelTransparency in interface WorkaroundsupportsPerpixelTransparency in class Java6Workaroundwindow - the window to testpublic boolean supportsPerpixelTranslucency(Window window)
WorkaroundWorkaround has the ability to make window translucent.
Translucent means that each pixel of the window can have its own alpha value.supportsPerpixelTranslucency in interface WorkaroundsupportsPerpixelTranslucency in class Java6Workaroundwindow - the window to testpublic boolean setTransparent(Window window, Shape shape)
Workaroundwindow transparent in all the regions that are not inside shape.setTransparent in interface WorkaroundsetTransparent in class Java6Workaroundwindow - the window that should be transparentshape - the shape of the window, or null if the window should not be transparentwindowpublic boolean setTranslucent(Window window)
Workaroundwindow translucent. See Workarounds.setTranslucent(Window) for a more
detailed description.setTranslucent in interface WorkaroundsetTranslucent in class Java6Workaroundwindow - the window that should be transparentwindowCopyright © 2017 Docking Frames. All rights reserved.