de.lessvoid.nifty.screen
Interface ScreenController

All Known Implementing Classes:
DefaultScreenController, NullScreenController

public interface ScreenController

ScreenController Interface all screen controllers should support.

Author:
void

Method Summary
 void bind(Nifty nifty, Screen screen)
          Bind this ScreenController to a screen.
 void onEndScreen()
          called right after the onEndScreen event ENDED.
 void onStartScreen()
          called right after the onStartScreen event ENDED.
 

Method Detail

bind

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

Parameters:
nifty - nifty
screen - screen

onStartScreen

void onStartScreen()
called right after the onStartScreen event ENDED.


onEndScreen

void onEndScreen()
called right after the onEndScreen event ENDED.



Copyright © 2012. All Rights Reserved.