public class SwtFactory extends GralFactory
version| Constructor and Description |
|---|
SwtFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
createGraphic(GralMng gralMng,
char sizeShow)
Initializes the
SwtGraphicThread#SwtGraphicThread(GralWindow, char, LogMessage)
and waits for execution of
GralMng.runGraphicThread() (set a breakpoint here to step into)
till the point where the GralGraphicThread#orderList
is started to run. |
getFactorypublic void createGraphic(GralMng gralMng, char sizeShow)
SwtGraphicThread#SwtGraphicThread(GralWindow, char, LogMessage)
and waits for execution of
GralMng.runGraphicThread() (set a breakpoint here to step into)
till the point where the GralGraphicThread#orderList
is started to run. Then the GralGraphicThread#waitForStart() is fulfilled,
and this operation returns with the GralGraphicThread instance to use for further orders.
The orders are given to the GraphicThread usual by GralWidget.redraw() requested with the changed data of the widget.
It means nothing is necessary with the GralGraphicThread from user level.createGraphic in class GralFactorysizeShow - 'A' ... 'G' for the size, pixel per grid