public abstract static class GralGraphicThread.ImplAccess extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected GralGraphicThread |
gralGraphicThread |
protected LogMessage |
log |
GralWindow |
mainWindow |
protected char |
sizeCharProperties |
protected java.lang.Thread |
threadGuiDispatch
The thread which runs all graphical activities.
|
Modifier | Constructor and Description |
---|---|
protected |
ImplAccess(char sizeCharProperties,
GralWindow mainWindow,
LogMessage log) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
dispatchOsEvents()
Calls the dispatch routine of the implementation graphic.
|
GralGraphicThread |
gralGraphicThread() |
protected abstract void |
graphicThreadSleep()
Forces the graphic thread to sleep and wait for any events.
|
protected abstract void |
initGraphic()
This method should be implemented by the graphical implementation layer.
|
protected void |
setClosed(boolean val)
Terminates the run loop if val == true.
|
protected void |
startThread() |
abstract void |
wakeup()
This method should be implemented by the graphical base.
|
protected final GralGraphicThread gralGraphicThread
protected char sizeCharProperties
protected final java.lang.Thread threadGuiDispatch
public final GralWindow mainWindow
protected final LogMessage log
protected ImplAccess(char sizeCharProperties, GralWindow mainWindow, LogMessage log)
protected void startThread()
public GralGraphicThread gralGraphicThread()
protected abstract void initGraphic()
GralGraphicThread.run()
. See SwtGraphicThread
.protected abstract boolean dispatchOsEvents()
protected abstract void graphicThreadSleep()
wakeup()
is called or this routine returns if the operation system wakes up the graphic thread.public abstract void wakeup()
protected void setClosed(boolean val)
val
-