Class DsEditOverlay

java.lang.Object
com.jme3.app.state.BaseAppState
jme3utilities.ui.Overlay
jme3utilities.ui.DsEditOverlay
All Implemented Interfaces:
com.jme3.app.state.AppState

public class DsEditOverlay extends Overlay
The overlay for the display-settings editor.

The overlay consists of status lines, one of which is always selected for editing.

  • Constructor Details

    • DsEditOverlay

      public DsEditOverlay(DisplaySettings proposedSettings)
      Instantiate an uninitialized AppState.
      Parameters:
      proposedSettings - the proposed display settings (not null, alias created)
  • Method Details

    • cleanup

      public void cleanup(com.jme3.app.Application application)
      Transition this AppState from terminating to detached. Should be invoked only by a subclass or by the AppStateManager.

      Invoked once for each time initialize(com.jme3.app.Application) is invoked.

      Overrides:
      cleanup in class Overlay
      Parameters:
      application - the application which owns this AppState (not null)
    • initialize

      public void initialize(com.jme3.app.Application application)
      Initialize this AppState on the first update after it gets attached.
      Overrides:
      initialize in class Overlay
      Parameters:
      application - application which owns this state (not null)
    • update

      public void update(float tpf)
      Callback to update this AppState prior to rendering. (Invoked once per frame while the state is attached and enabled.)
      Specified by:
      update in interface com.jme3.app.state.AppState
      Overrides:
      update in class com.jme3.app.state.BaseAppState
      Parameters:
      tpf - time interval between frames (in seconds, ≥0)