public class AllExamplesMain extends Object implements NiftyExample
Constructor and Description |
---|
AllExamplesMain() |
Modifier and Type | Method and Description |
---|---|
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.
|
static void |
main(String[] args)
Main method.
|
void |
prepareStart(Nifty nifty)
This function is called right before the example itself is executed.
|
public static void main(String[] args)
args
- argumentspublic 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-GUICopyright © 2013. All Rights Reserved.