public interface ScreenWindowShape
ScreenWindowShape is used by ScreenDockWindow to define which parts
of the window are visible and which parts are transparent. The ScreenWindowShape of any
window can be configured in WindowConfiguration.| Modifier and Type | Method and Description |
|---|---|
void |
onResize()
Called by the
ScreenDockWindow if its size has changed, can lead to a call to ScreenWindowShapeCallback.setShape(java.awt.Shape) |
void |
onShown()
Called by the
ScreenDockWindow if it was made visible, can lead to a call to ScreenWindowShapeCallback.setShape(java.awt.Shape) |
void |
setCallback(ScreenWindowShapeCallback callback)
Informs this shape about the
ScreenDockWindow that can be configured by this. |
void setCallback(ScreenWindowShapeCallback callback)
ScreenDockWindow that can be configured by this. The methods
of callback should be called by the EDT.ScreenWindowShapeCallback.setShape(java.awt.Shape) at any time.callback - the window, or nullvoid onResize()
ScreenDockWindow if its size has changed, can lead to a call to ScreenWindowShapeCallback.setShape(java.awt.Shape)void onShown()
ScreenDockWindow if it was made visible, can lead to a call to ScreenWindowShapeCallback.setShape(java.awt.Shape)Copyright © 2017 Docking Frames. All rights reserved.