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 final LogMessage log
public final GralWindow mainWindow
protected char sizeCharProperties
protected final java.lang.Thread threadGuiDispatch
protected ImplAccess(char sizeCharProperties, GralWindow mainWindow, LogMessage log)
protected abstract boolean dispatchOsEvents()
public GralGraphicThread gralGraphicThread()
protected abstract void graphicThreadSleep()
wakeup()
is called or this routine returns if the operation system wakes up the graphic thread.protected abstract void initGraphic()
GralGraphicThread.run()
. See SwtGraphicThread
.protected void setClosed(boolean val)
val
- protected void startThread()
public abstract void wakeup()