Package jme3utilities.ui
Class DsEditInputMode
java.lang.Object
com.jme3.app.state.AbstractAppState
jme3utilities.NamedAppState
jme3utilities.SimpleAppState
jme3utilities.ui.AcorusAppState
jme3utilities.ui.InputMode
jme3utilities.ui.DsEditInputMode
- All Implemented Interfaces:
com.jme3.app.state.AppState
,com.jme3.input.controls.ActionListener
,com.jme3.input.controls.InputListener
InputMode for the Acorus display-settings editor.
Activate this mode using InputMode.suspendAndActivate().
-
Field Summary
Fields inherited from class jme3utilities.ui.InputMode
comboActionPrefix, signalActionPrefix
Fields inherited from class jme3utilities.SimpleAppState
assetManager, cam, flyCam, guiNode, guiViewPort, inputManager, renderManager, rootNode, simpleApplication, stateManager, viewPort
Fields inherited from class com.jme3.app.state.AbstractAppState
initialized
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Add default hotkey bindings.void
initialize
(com.jme3.app.state.AppStateManager stateManager, com.jme3.app.Application application) Initialize this (disabled) mode prior to its first update.void
Process an action from the GUI or keyboard.Methods inherited from class jme3utilities.ui.InputMode
activate, addActionName, bind, bind, bind, bind, bindLocal, binds, bindSignal, bindSignal, configPath, deactivate, findActionName, findMode, getActiveMode, getCursor, listActionNames, listCombos, listHotkeysLocal, loadBindings, mapAll, resumeLifo, saveBindings, setConfigPath, setCursor, setEnabled, shortName, suspendAndActivate, toString, unbind, unbind, unmapAll
Methods inherited from class jme3utilities.ui.AcorusAppState
getActionApplication, getSignals, getSpeed
Methods inherited from class jme3utilities.SimpleAppState
refreshCachedFields, render, stateDetached
Methods inherited from class jme3utilities.NamedAppState
cleanup, getInfluence, hasInfluenceOver, influence, isEnabled, isInitialized, postRender, stateAttached, stopInfluencing, update
Methods inherited from class com.jme3.app.state.AbstractAppState
getId, setId
-
Method Details
-
defaultBindings
protected void defaultBindings()Add default hotkey bindings.- Specified by:
defaultBindings
in classInputMode
-
initialize
public void initialize(com.jme3.app.state.AppStateManager stateManager, com.jme3.app.Application application) Initialize this (disabled) mode prior to its first update.- Specified by:
initialize
in interfacecom.jme3.app.state.AppState
- Overrides:
initialize
in classInputMode
- Parameters:
stateManager
- (not null)application
- (not null)
-
onAction
Process an action from the GUI or keyboard.- Parameters:
actionString
- textual description of the action (not null)ongoing
- true if the action is ongoing, otherwise falsetpf
- time per frame (in seconds)
-