public class OverlapRenderPolicy extends DefaultRenderPolicy
When a widget is asked to be rendered, all the widgets that overlap it in the desktop hierarchy are also rendered. A widget is considered to overlap another one if:
| Constructor and Description |
|---|
OverlapRenderPolicy(Desktop desktop)
Creates an overlap render policy.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
renderWidget(Widget widget,
int x,
int y,
int width,
int height)
This method performs the increment render of the widget.
|
renderDesktop, requestRendergetDesktoppublic OverlapRenderPolicy(Desktop desktop)
desktop - the desktop.protected void renderWidget(Widget widget, int x, int y, int width, int height)
DefaultRenderPolicyThe given bounds are relative to the widget.
renderWidget in class DefaultRenderPolicywidget - the widget to render.x - the x coordinate of the area to render.y - the y coordinate of the area to render.width - the width of the area to render.height - the height of the area to render.