class SwtGraphicThread extends GralGraphicThread.ImplAccess
| Modifier and Type | Class and Description |
|---|---|
class |
SwtGraphicThread.WindowsCloseListener
The windows-closing event handler.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) org.eclipse.swt.widgets.Display |
displaySwt
The graphical device for the application for all windows of this application.
|
(package private) SwtMng |
gralMng |
(package private) org.eclipse.swt.events.KeyListener |
keyListener |
(package private) org.eclipse.swt.events.ShellListener |
mainComponentListerner |
(package private) org.eclipse.swt.widgets.Listener |
traverseKeyFilter
This interface routine is invoked on any key which is used as 'traverse' key to switch
between widgets, panels etc.
|
static java.lang.String |
version
Version, history and license.
|
private SwtGraphicThread.WindowsCloseListener |
windowsCloseListener
Instance of windowsCloseHandler.
|
(package private) org.eclipse.swt.widgets.Shell |
windowSwt
The main window.
|
(package private) org.eclipse.swt.events.TraverseListener |
XXXkeyTraverse
Disables the ctrl-pgUp and ctrl-Pgdn as traversal key listener.
|
gralGraphicThread, log, mainWindow, sizeCharProperties, threadGuiDispatch| Constructor and Description |
|---|
SwtGraphicThread(GralWindow windowGral,
char sizeShow,
LogMessage log) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToGraphicImplThread(java.lang.Runnable exec)
Yet Experience: SWT knows the
Display.asyncExec(Runnable). |
protected boolean |
dispatchOsEvents()
Calls the dispatch routine of the implementation graphic.
|
protected void |
graphicThreadSleep()
Forces the graphic thread to sleep and wait for any events.
|
protected void |
initGraphic()
This method should be implemented by the graphical implementation layer.
|
(package private) void |
stop() |
void |
wakeup()
This method should be implemented by the graphical base.
|
(package private) void |
XXX_Old_createWindow__() |
gralGraphicThread, setClosed, startThreadpublic static final java.lang.String version
GralGraphicThread is an own instance able to create before the graphic is established.
This graphical implementation extends the GralGraphicThread.ImplAccess.
traverseKeyFilter now excludes [ctrl-tab]. Only [tab] is a traversal key.
initGraphic() now creates the main window, creates the
SwtMng instead it is doing in the non-graphic thread.
org.eclipse.swt.widgets.Display displaySwt
org.eclipse.swt.widgets.Shell windowSwt
private final SwtGraphicThread.WindowsCloseListener windowsCloseListener
org.eclipse.swt.events.KeyListener keyListener
org.eclipse.swt.events.TraverseListener XXXkeyTraverse
org.eclipse.swt.widgets.Listener traverseKeyFilter
org.eclipse.swt.events.ShellListener mainComponentListerner
SwtGraphicThread(GralWindow windowGral, char sizeShow, LogMessage log)
protected void initGraphic()
GralGraphicThread.ImplAccessGralGraphicThread.run(). See SwtGraphicThread.initGraphic in class GralGraphicThread.ImplAccessorg.vishia.gral.base.GralGraphicThread#initGraphic()void XXX_Old_createWindow__()
protected boolean dispatchOsEvents()
GralGraphicThread.ImplAccessdispatchOsEvents in class GralGraphicThread.ImplAccessprotected void graphicThreadSleep()
GralGraphicThread.ImplAccessGralGraphicThread.ImplAccess.wakeup() is called or this routine returns if the operation system wakes up the graphic thread.graphicThreadSleep in class GralGraphicThread.ImplAccessprotected void addToGraphicImplThread(java.lang.Runnable exec)
Display.asyncExec(Runnable).exec - public void wakeup()
GralGraphicThread.ImplAccesswakeup in class GralGraphicThread.ImplAccessvoid stop()