public class DrawScreenHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
draw(ej.microui.display.GraphicsContext g,
ej.mwt.Composite composite)
Draws the given composite in the given graphic context.
|
static void |
draw(ej.microui.display.GraphicsContext g,
ej.mwt.Desktop desktop)
Draws the given desktop in the given graphic context.
|
static void |
draw(ej.microui.display.GraphicsContext g,
ej.microui.display.Displayable displayable)
Draws the given displayable in the given graphic context.
|
static void |
draw(ej.microui.display.GraphicsContext g,
ej.mwt.Panel panel)
Draws the given panel in the given graphic context.
|
static void |
draw(ej.microui.display.GraphicsContext g,
ej.mwt.Widget widget)
Draws the given widget in the given graphic context.
|
public static void draw(ej.microui.display.GraphicsContext g, ej.microui.display.Displayable displayable)
g
- the graphic context where to draw the displayable.displayable
- the displayable to draw.public static void draw(ej.microui.display.GraphicsContext g, ej.mwt.Desktop desktop)
g
- the graphic context where to draw the desktop.desktop
- the desktop to draw.public static void draw(ej.microui.display.GraphicsContext g, ej.mwt.Panel panel)
g
- the graphic context where to draw the panel.panel
- the panel to draw.public static void draw(ej.microui.display.GraphicsContext g, ej.mwt.Widget widget)
If the given widget is a composite, its children are not drawn.
g
- the graphic context where to draw the widget.widget
- the widget to draw.public static void draw(ej.microui.display.GraphicsContext g, ej.mwt.Composite composite)
g
- the graphic context where to draw the composite.composite
- the composite to draw.