|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.examples.console.ConsoleDemoStartScreen
public class ConsoleDemoStartScreen
ConsoleDemoStartScreen.
Constructor Summary | |
---|---|
ConsoleDemoStartScreen()
|
Method Summary | |
---|---|
void |
back()
|
void |
bind(Nifty newNifty,
Screen newScreen)
|
String |
getMainXML()
The resource path of the XML file that is supposed to be load for the example. |
String |
getStartScreen()
The start screen that is supposed to be load initial. |
String |
getTitle()
The title of this demonstration example. |
boolean |
keyEvent(NiftyInputEvent inputEvent)
|
void |
onConsoleCommand(String id,
ConsoleExecuteCommandEvent command)
|
void |
onEndScreen()
|
void |
onStartScreen()
|
void |
prepareStart(Nifty nifty)
This function is called right before the example itself is executed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsoleDemoStartScreen()
Method Detail |
---|
public void bind(Nifty newNifty, Screen newScreen)
bind
in interface ScreenController
public void onStartScreen()
onStartScreen
in interface ScreenController
public void onEndScreen()
onEndScreen
in interface ScreenController
public void back()
public boolean keyEvent(NiftyInputEvent inputEvent)
keyEvent
in interface KeyInputHandler
public void onConsoleCommand(String id, ConsoleExecuteCommandEvent command)
public String getStartScreen()
NiftyExample
getStartScreen
in interface NiftyExample
public String getMainXML()
NiftyExample
getMainXML
in interface NiftyExample
null
in case no XML file is supposed to be loadpublic String getTitle()
NiftyExample
getTitle
in interface NiftyExample
public void prepareStart(Nifty nifty)
NiftyExample
prepareStart
in interface NiftyExample
nifty
- the used instance of the Nifty-GUI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |