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 Controller
public void init(Properties parameter, Attributes controlDefinitionAttributes)
init
in interface Controller
public void onStartScreen()
onStartScreen
in interface Controller
public void onFocus(boolean getFocus)
onFocus
in interface Controller
public boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent
in interface Controller
public void setProgress(float progressValue)
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-GUICopyright © 2013. All Rights Reserved.