Class DefaultGuiController

  • All Implemented Interfaces:
    com.jme3.app.state.AppState, de.lessvoid.nifty.screen.ScreenController

    public class DefaultGuiController
    extends com.jme3.app.state.AbstractAppState
    implements de.lessvoid.nifty.screen.ScreenController
    • Field Summary

      Fields 
      Modifier and Type Field Description
      com.jme3.app.SimpleApplication app  
      de.lessvoid.nifty.Nifty nifty  
      com.jme3.scene.Node rootNode  
      de.lessvoid.nifty.screen.Screen screen  
      • Fields inherited from class com.jme3.app.state.AbstractAppState

        initialized
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bind​(de.lessvoid.nifty.Nifty nifty, de.lessvoid.nifty.screen.Screen screen)
      Nifty GUI ScreenControl methods
      void fireFullscreen()  
      void initialize​(com.jme3.app.state.AppStateManager stateManager, com.jme3.app.Application app)
      jME3 AppState methods
      void onEndScreen()  
      void onStartScreen()  
      void options()  
      • Methods inherited from class com.jme3.app.state.AbstractAppState

        cleanup, isEnabled, isInitialized, postRender, render, setEnabled, stateAttached, stateDetached, update
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • nifty

        public de.lessvoid.nifty.Nifty nifty
      • screen

        public de.lessvoid.nifty.screen.Screen screen
      • app

        public com.jme3.app.SimpleApplication app
      • rootNode

        public com.jme3.scene.Node rootNode
    • Constructor Detail

      • DefaultGuiController

        public DefaultGuiController()
        custom methods
      • DefaultGuiController

        public DefaultGuiController​(com.jme3.app.SimpleApplication app)
    • Method Detail

      • bind

        public void bind​(de.lessvoid.nifty.Nifty nifty,
                         de.lessvoid.nifty.screen.Screen screen)
        Nifty GUI ScreenControl methods
        Specified by:
        bind in interface de.lessvoid.nifty.screen.ScreenController
      • fireFullscreen

        public void fireFullscreen()
      • options

        public void options()
      • onStartScreen

        public void onStartScreen()
        Specified by:
        onStartScreen in interface de.lessvoid.nifty.screen.ScreenController
      • onEndScreen

        public void onEndScreen()
        Specified by:
        onEndScreen in interface de.lessvoid.nifty.screen.ScreenController
      • initialize

        public void initialize​(com.jme3.app.state.AppStateManager stateManager,
                               com.jme3.app.Application app)
        jME3 AppState methods
        Specified by:
        initialize in interface com.jme3.app.state.AppState
        Overrides:
        initialize in class com.jme3.app.state.AbstractAppState