|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Workaround
A Workaround provides code to workaround an issue that is only present in some versions of the
JRE or in some libraries.
| Method Summary | |
|---|---|
void |
markAsGlassPane(Component component)
Called for any Component which is used as glass pane (as invisible panel). |
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. |
void |
setup(DockController controller)
Called whenever a new DockController is created, the Workaround may modify the controller in
any way it likes (e.g. |
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. |
| Method Detail |
|---|
void setup(DockController controller)
DockController is created, the Workaround may modify the controller in
any way it likes (e.g. install specialied factories).
controller - the DockController which was just created and initializedvoid markAsGlassPane(Component component)
Component which is used as glass pane (as invisible panel).
component - the component that is invisibleboolean supportsPerpixelTranslucency(Window window)
Workaround has the abbility to make window translucent.
Translucent means that each pixel of the window can have its own alpha value.
window - the window to test
boolean setTranslucent(Window window)
window translucent. See Workarounds.setTranslucent(Window) for a more
detailed description.
window - the window that should be transparent
windowboolean supportsPerpixelTransparency(Window window)
Workaround has the abbility to make window transparent.
Transparent means that some pixels of the window cannot be seen.
window - the widnow to test
boolean setTransparent(Window window,
Shape shape)
window transparent in all the regions that are not inside shape.
window - the window that should be transparentshape - the shape of the window, or null if the window should not be transparent
window
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||