public class SWTPlatform extends JavaPlatform
JavaPlatform.Config, JavaPlatform.HeadlessPlatform.Error, Platform.Lifecycle, Platform.Type| Constructor and Description |
|---|
SWTPlatform(JavaPlatform.Config config)
Creates a new SWT platform and prepares it for operation.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.swt.widgets.Composite |
composite()
Returns the SWT composite that hosts the game view.
|
org.eclipse.swt.widgets.Display |
display()
Returns the SWT display on which the game is running.
|
SWTGraphics |
graphics() |
SWTInput |
input() |
org.eclipse.swt.widgets.Shell |
shell()
Returns the SWT shell in which the game is running.
|
assets, audio, exec, json, log, net, openURL, setTitle, start, storage, tick, time, typedispatchEvent, invokeAsync, invokeLater, isAsyncSupported, reportErrorpublic SWTPlatform(JavaPlatform.Config config)
public org.eclipse.swt.widgets.Display display()
public org.eclipse.swt.widgets.Shell shell()
public org.eclipse.swt.widgets.Composite composite()
public SWTGraphics graphics()
graphics in class JavaPlatformpublic SWTInput input()
input in class JavaPlatformCopyright © 2017. All Rights Reserved.