de.lessvoid.nifty.screen
Class DefaultScreenController

java.lang.Object
  extended by de.lessvoid.nifty.screen.DefaultScreenController
All Implemented Interfaces:
ScreenController

public class DefaultScreenController
extends Object
implements ScreenController

The DefaultScreenController is attached to a screen when no ScreenController was specified. It does nothing at the moment.


Constructor Summary
DefaultScreenController()
           
 
Method Summary
 void bind(Nifty nifty, Screen screen)
          Bind this ScreenController to a screen.
 void gotoScreen(String screenId)
           
 void onEndScreen()
          called right after the onEndScreen event ENDED.
 void onStartScreen()
          called right after the onStartScreen event ENDED.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultScreenController

public DefaultScreenController()
Method Detail

bind

public void bind(Nifty nifty,
                 Screen screen)
Description copied from interface: ScreenController
Bind this ScreenController to a screen. This happens right before the onStartScreen STARTED and only exactly once for a screen!

Specified by:
bind in interface ScreenController
Parameters:
nifty - nifty
screen - screen

onStartScreen

public void onStartScreen()
Description copied from interface: ScreenController
called right after the onStartScreen event ENDED.

Specified by:
onStartScreen in interface ScreenController

onEndScreen

public void onEndScreen()
Description copied from interface: ScreenController
called right after the onEndScreen event ENDED.

Specified by:
onEndScreen in interface ScreenController

gotoScreen

public void gotoScreen(String screenId)


Copyright © 2012. All Rights Reserved.