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|
Creates an overlap render policy.
|Modifier and Type||Method and Description|
This method performs the increment render of the widget.
renderDesktop, requestRender, setParentClip
public OverlapRenderPolicy(Desktop desktop)
desktop- the desktop.
protected void renderWidget(Widget widget, int x, int y, int width, int height)
The given bounds are relative to the widget.