|
||||||||||
| 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 Controllernifty - niftyelement - the Elementparameter - parameters from the xml source to init the controller
public void init(Properties parameter,
Attributes controlDefinitionAttributes)
Controller
init in interface Controllerpublic void onStartScreen()
Controller
onStartScreen in interface Controllerpublic boolean inputEvent(NiftyInputEvent inputEvent)
Controller
inputEvent in interface ControllerinputEvent - the NiftyInputEvent to process
public void onFocus(boolean getFocus)
Controller
onFocus in interface ControllergetFocus - get focus (true) or loose focus (false)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||