public interface Workaround
Workaround provides code to workaround an issue that is only present in some versions of the
JRE or in some libraries.| Modifier and Type | Method and Description |
|---|---|
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 ability to make window translucent. |
boolean |
supportsPerpixelTransparency(Window window)
Tells whether this
Workaround has the ability to make window transparent. |
void setup(DockController controller)
DockController is created, the Workaround may modify the controller in
any way it likes (e.g. install specialized 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 ability to make window translucent.
Translucent means that each pixel of the window can have its own alpha value.window - the window to testboolean setTranslucent(Window window)
window translucent. See Workarounds.setTranslucent(Window) for a more
detailed description.window - the window that should be transparentwindowboolean supportsPerpixelTransparency(Window window)
Workaround has the ability to make window transparent.
Transparent means that some pixels of the window cannot be seen.window - the window to testboolean 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 transparentwindowCopyright © 2017 Docking Frames. All rights reserved.