public class KeyInterceptState
extends com.jme3.app.state.BaseAppState
Modifier and Type | Class and Description |
---|---|
protected class |
KeyInterceptState.KeyObserver |
Constructor and Description |
---|
KeyInterceptState(com.jme3.app.Application app) |
Modifier and Type | Method and Description |
---|---|
void |
addKeyListener(KeyListener l) |
protected void |
cleanup(com.jme3.app.Application app) |
protected void |
dispatch(com.jme3.input.event.KeyInputEvent evt) |
protected void |
initialize(com.jme3.app.Application app) |
protected void |
onDisable() |
protected void |
onEnable() |
void |
removeKeyListener(KeyListener l) |
protected void |
setModifier(int mask,
boolean on) |
public void addKeyListener(KeyListener l)
public void removeKeyListener(KeyListener l)
protected void initialize(com.jme3.app.Application app)
initialize
in class com.jme3.app.state.BaseAppState
protected void cleanup(com.jme3.app.Application app)
cleanup
in class com.jme3.app.state.BaseAppState
protected void onEnable()
onEnable
in class com.jme3.app.state.BaseAppState
protected void onDisable()
onDisable
in class com.jme3.app.state.BaseAppState
protected void setModifier(int mask, boolean on)
protected void dispatch(com.jme3.input.event.KeyInputEvent evt)