|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.controls.DefaultController
public class DefaultController
Constructor Summary | |
---|---|
DefaultController()
|
Method Summary | |
---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes)
Bind this Controller to a certain element. |
void |
init(Properties parameter,
Attributes controlDefinitionAttributes)
Init the Controller. |
boolean |
inputEvent(NiftyInputEvent inputEvent)
input event. |
void |
onFocus(boolean getFocus)
This controller gets the focus. |
void |
onStartScreen()
Called when the screen is started. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultController()
Method Detail |
---|
public void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
Controller
bind
in interface Controller
nifty
- niftyelement
- the Elementparameter
- parameters from the xml source to init the controllerpublic void init(Properties parameter, Attributes controlDefinitionAttributes)
Controller
init
in interface Controller
public void onStartScreen()
Controller
onStartScreen
in interface Controller
public boolean inputEvent(NiftyInputEvent inputEvent)
Controller
inputEvent
in interface Controller
inputEvent
- the NiftyInputEvent to process
public void onFocus(boolean getFocus)
Controller
onFocus
in interface Controller
getFocus
- get focus (true) or loose focus (false)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |