Interface GUIContext
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Subinterfaces:
AWTContext
,HTMLContext
,SWTBrowserContext
,SWTContext
,URLContext
- All Known Implementing Classes:
AbstractHTMLContext
,AbstractTransferableGUIContext
,NullGUIContext
,RemoteHTMLContext
,SWTEmbeddedAWTContext
,SwtHtmlContext
,SwtUrlContext
,TransferredURLContext
public interface GUIContext extends Closeable
This interface provides access to the parent GUI of an application. It remains empty for future use. Using components should cast this interface to the appropriate implementation, for instance, SWTContext, AWTContext,...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Closes the GUI for this context.
-
-
-
Method Detail
-
close
void close()
Closes the GUI for this context. This method has to be called by the runtime manager whenever an application has terminated (finished, failed, aborted, killed,...).
It must be possible to call this method more than once, even if the GUIContext has already shut down. This especially applies to the disposal of SWT-widgets, that is, it is allowed to call this method after the disposal of the corresponding widgets.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-