|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.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)
Workaround
Workaround
has the abbility to make window
transparent.
Transparent means that some pixels of the window
cannot be seen.
supportsPerpixelTransparency
in interface Workaround
supportsPerpixelTransparency
in class Java6Workaround
window
- the widnow to test
public boolean supportsPerpixelTranslucency(Window window)
Workaround
Workaround
has the abbility to make window
translucent.
Translucent means that each pixel of the window
can have its own alpha value.
supportsPerpixelTranslucency
in interface Workaround
supportsPerpixelTranslucency
in class Java6Workaround
window
- the window to test
public boolean setTransparent(Window window, Shape shape)
Workaround
window
transparent in all the regions that are not inside shape
.
setTransparent
in interface Workaround
setTransparent
in class Java6Workaround
window
- the window that should be transparentshape
- the shape of the window, or null
if the window should not be transparent
window
public boolean setTranslucent(Window window)
Workaround
window
translucent. See Workarounds.setTranslucent(Window)
for a more
detailed description.
setTranslucent
in interface Workaround
setTranslucent
in class Java6Workaround
window
- the window that should be transparent
window
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |