public abstract class JoglContext
extends java.lang.Object
implements com.jme3.system.JmeContext
| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.atomic.AtomicBoolean |
created |
protected java.lang.Object |
createdLock |
protected com.jme3.input.JoyInput |
joyInput |
protected com.jme3.input.KeyInput |
keyInput |
protected com.jme3.system.SystemListener |
listener |
protected com.jme3.input.MouseInput |
mouseInput |
protected java.util.concurrent.atomic.AtomicBoolean |
renderable |
protected com.jme3.renderer.Renderer |
renderer |
protected com.jme3.system.AppSettings |
settings |
protected static java.lang.String |
THREAD_NAME |
protected com.jme3.system.Timer |
timer |
| Constructor and Description |
|---|
JoglContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
create() |
void |
destroy() |
protected int |
determineMaxSamples(int requestedSamples) |
com.jme3.input.JoyInput |
getJoyInput() |
com.jme3.input.KeyInput |
getKeyInput() |
com.jme3.input.MouseInput |
getMouseInput() |
protected int |
getNumSamplesToUse() |
com.jme3.renderer.Renderer |
getRenderer() |
com.jme3.system.AppSettings |
getSettings() |
com.jme3.system.Timer |
getTimer() |
protected void |
initContextFirstTime() |
void |
internalCreate() |
protected void |
internalDestroy() |
boolean |
isCreated() |
boolean |
isRenderable() |
void |
setSettings(com.jme3.system.AppSettings settings) |
void |
setSystemListener(com.jme3.system.SystemListener listener) |
protected void |
waitFor(boolean createdVal) |
protected static final java.lang.String THREAD_NAME
protected java.util.concurrent.atomic.AtomicBoolean created
protected java.util.concurrent.atomic.AtomicBoolean renderable
protected final java.lang.Object createdLock
protected com.jme3.system.AppSettings settings
protected com.jme3.renderer.Renderer renderer
protected com.jme3.system.Timer timer
protected com.jme3.system.SystemListener listener
protected com.jme3.input.KeyInput keyInput
protected com.jme3.input.MouseInput mouseInput
protected com.jme3.input.JoyInput joyInput
public void setSystemListener(com.jme3.system.SystemListener listener)
setSystemListener in interface com.jme3.system.JmeContextpublic void setSettings(com.jme3.system.AppSettings settings)
setSettings in interface com.jme3.system.JmeContextpublic boolean isRenderable()
isRenderable 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.system.Timer getTimer()
getTimer in interface com.jme3.system.JmeContextpublic boolean isCreated()
isCreated in interface com.jme3.system.JmeContextpublic void create()
public void destroy()
protected void waitFor(boolean createdVal)
protected void initContextFirstTime()
public void internalCreate()
protected void internalDestroy()
protected int determineMaxSamples(int requestedSamples)
protected int getNumSamplesToUse()