Class DsEditInputMode

java.lang.Object
com.jme3.app.state.AbstractAppState
jme3utilities.NamedAppState
jme3utilities.SimpleAppState
All Implemented Interfaces:
com.jme3.app.state.AppState, com.jme3.input.controls.ActionListener, com.jme3.input.controls.InputListener

public class DsEditInputMode extends InputMode
InputMode for the Acorus display-settings editor.

Activate this mode using InputMode.suspendAndActivate().

  • Method Details

    • defaultBindings

      protected void defaultBindings()
      Add default hotkey bindings.
      Specified by:
      defaultBindings in class InputMode
    • 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 interface com.jme3.app.state.AppState
      Overrides:
      initialize in class InputMode
      Parameters:
      stateManager - (not null)
      application - (not null)
    • onAction

      public void onAction(String actionString, boolean ongoing, float tpf)
      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 false
      tpf - time per frame (in seconds)