|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Controller
Controller.
| 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. |
| Method Detail |
|---|
void bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes)
nifty - niftyelement - the Elementparameter - parameters from the xml source to init the controllerlistener - the ControllerEventListener
void init(Properties parameter,
Attributes controlDefinitionAttributes)
parameter - controlDefinitionAttributes - void onStartScreen()
void onFocus(boolean getFocus)
getFocus - get focus (true) or loose focus (false)boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent - the NiftyInputEvent to process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||