public class ProgressbarControl extends Object implements Controller, NiftyExample
| Constructor and Description |
|---|
ProgressbarControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Nifty nifty,
Screen screenParam,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes) |
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.
|
void |
init(Properties parameter,
Attributes controlDefinitionAttributes) |
boolean |
inputEvent(NiftyInputEvent inputEvent) |
void |
onFocus(boolean getFocus) |
void |
onStartScreen() |
void |
prepareStart(Nifty nifty)
This function is called right before the example itself is executed.
|
void |
setProgress(float progressValue) |
public void bind(Nifty nifty, Screen screenParam, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind in interface Controllerpublic void init(Properties parameter, Attributes controlDefinitionAttributes)
init in interface Controllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic void onFocus(boolean getFocus)
onFocus in interface Controllerpublic boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic void setProgress(float progressValue)
public String getStartScreen()
NiftyExamplegetStartScreen in interface NiftyExamplepublic String getMainXML()
NiftyExamplegetMainXML in interface NiftyExamplenull in case no XML file is supposed to be loadpublic String getTitle()
NiftyExamplegetTitle in interface NiftyExamplepublic void prepareStart(Nifty nifty)
NiftyExampleprepareStart in interface NiftyExamplenifty - the used instance of the Nifty-GUICopyright © 2013. All Rights Reserved.