|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.util.workarounds.Java6Workaround
bibliothek.util.workarounds.Java7Workaround
public class Java7Workaround
Workarounds necessary for Java 1.7.
| Constructor Summary | |
|---|---|
Java7Workaround()
|
|
| Method Summary | |
|---|---|
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 abbility to make window translucent. |
boolean |
supportsPerpixelTransparency(Window window)
Tells whether this Workaround has the abbility to make window transparent. |
| Methods inherited from class bibliothek.util.workarounds.Java6Workaround |
|---|
isPrintWarnings, markAsGlassPane, setPrintWarnings, setup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Java7Workaround()
| Method Detail |
|---|
public boolean supportsPerpixelTransparency(Window window)
WorkaroundWorkaround has the abbility to make window transparent.
Transparent means that some pixels of the window cannot be seen.
supportsPerpixelTransparency in interface WorkaroundsupportsPerpixelTransparency in class Java6Workaroundwindow - the widnow to test
public boolean supportsPerpixelTranslucency(Window window)
WorkaroundWorkaround has the abbility 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 test
public 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 transparent
windowpublic 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 transparent
window
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||