public class AwtPanelsContext
extends java.lang.Object
implements com.jme3.system.JmeContext
| Modifier and Type | Field and Description |
|---|---|
protected com.jme3.system.JmeContext |
actualContext |
protected AwtPanel |
inputSource |
protected AwtKeyInput |
keyInput |
protected boolean |
lastThrottleState |
protected com.jme3.system.SystemListener |
listener |
protected AwtMouseInput |
mouseInput |
protected java.util.ArrayList<AwtPanel> |
panels |
protected com.jme3.system.AppSettings |
settings |
| Constructor and Description |
|---|
AwtPanelsContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(boolean waitFor) |
AwtPanel |
createPanel(PaintMode paintMode) |
AwtPanel |
createPanel(PaintMode paintMode,
boolean srgb) |
void |
destroy(boolean waitFor) |
com.jme3.input.JoyInput |
getJoyInput() |
com.jme3.input.KeyInput |
getKeyInput() |
com.jme3.input.MouseInput |
getMouseInput() |
com.jme3.opencl.Context |
getOpenCLContext() |
com.jme3.renderer.Renderer |
getRenderer() |
com.jme3.system.AppSettings |
getSettings() |
com.jme3.system.Timer |
getTimer() |
com.jme3.input.TouchInput |
getTouchInput() |
com.jme3.system.JmeContext.Type |
getType() |
boolean |
isCreated() |
boolean |
isRenderable() |
void |
restart() |
void |
setAutoFlushFrames(boolean enabled) |
void |
setInputSource(AwtPanel panel) |
void |
setSettings(com.jme3.system.AppSettings settings) |
void |
setSystemListener(com.jme3.system.SystemListener listener) |
void |
setTitle(java.lang.String title) |
protected com.jme3.system.JmeContext actualContext
protected com.jme3.system.AppSettings settings
protected com.jme3.system.SystemListener listener
protected java.util.ArrayList<AwtPanel> panels
protected AwtPanel inputSource
protected AwtMouseInput mouseInput
protected AwtKeyInput keyInput
protected boolean lastThrottleState
public void setInputSource(AwtPanel panel)
public com.jme3.system.JmeContext.Type getType()
getType in interface com.jme3.system.JmeContextpublic void setSystemListener(com.jme3.system.SystemListener listener)
setSystemListener in interface com.jme3.system.JmeContextpublic com.jme3.system.AppSettings getSettings()
getSettings in interface com.jme3.system.JmeContextpublic com.jme3.renderer.Renderer getRenderer()
getRenderer in interface com.jme3.system.JmeContextpublic com.jme3.input.MouseInput getMouseInput()
getMouseInput in interface com.jme3.system.JmeContextpublic com.jme3.input.KeyInput getKeyInput()
getKeyInput in interface com.jme3.system.JmeContextpublic com.jme3.input.JoyInput getJoyInput()
getJoyInput in interface com.jme3.system.JmeContextpublic com.jme3.input.TouchInput getTouchInput()
getTouchInput in interface com.jme3.system.JmeContextpublic com.jme3.system.Timer getTimer()
getTimer in interface com.jme3.system.JmeContextpublic boolean isCreated()
isCreated in interface com.jme3.system.JmeContextpublic boolean isRenderable()
isRenderable in interface com.jme3.system.JmeContextpublic com.jme3.opencl.Context getOpenCLContext()
getOpenCLContext in interface com.jme3.system.JmeContextpublic void setSettings(com.jme3.system.AppSettings settings)
setSettings in interface com.jme3.system.JmeContextpublic void create(boolean waitFor)
create in interface com.jme3.system.JmeContextpublic void destroy(boolean waitFor)
destroy in interface com.jme3.system.JmeContextpublic void setTitle(java.lang.String title)
setTitle in interface com.jme3.system.JmeContextpublic void setAutoFlushFrames(boolean enabled)
setAutoFlushFrames in interface com.jme3.system.JmeContextpublic void restart()
restart in interface com.jme3.system.JmeContext