de.lessvoid.nifty.examples.defaultcontrols.eventconsume
Class EventConsumeDialogController

java.lang.Object
  extended by de.lessvoid.nifty.examples.defaultcontrols.eventconsume.EventConsumeDialogController
All Implemented Interfaces:
Controller

public class EventConsumeDialogController
extends Object
implements Controller

The Controller for the EventConsumeDialog.


Constructor Summary
EventConsumeDialogController()
           
 
Method Summary
 void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
           
 void eventConsumeElementDropDownChanged(String id, DropDownSelectionChangedEvent<de.lessvoid.nifty.examples.defaultcontrols.eventconsume.EventConsumeDialogController.ElementInfo> e)
           
 void eventConsumeIgnoreKeyboardEventsCheckBoxToggle(String id, CheckBoxStateChangedEvent e)
           
 void eventConsumeIgnoreMouseEventsCheckBoxToggle(String id, CheckBoxStateChangedEvent e)
           
 void init(Properties parameter, Attributes controlDefinitionAttributes)
           
 boolean inputEvent(NiftyInputEvent inputEvent)
           
 void onButtonClick(String id, ButtonClickedEvent e)
           
 void onFocus(boolean getFocus)
           
 void onStartScreen()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventConsumeDialogController

public EventConsumeDialogController()
Method Detail

bind

public void bind(Nifty nifty,
                 Screen screen,
                 Element element,
                 Properties parameter,
                 Attributes controlDefinitionAttributes)
Specified by:
bind in interface Controller

init

public void init(Properties parameter,
                 Attributes controlDefinitionAttributes)
Specified by:
init in interface Controller

onStartScreen

public void onStartScreen()
Specified by:
onStartScreen in interface Controller

onFocus

public void onFocus(boolean getFocus)
Specified by:
onFocus in interface Controller

inputEvent

public boolean inputEvent(NiftyInputEvent inputEvent)
Specified by:
inputEvent in interface Controller

eventConsumeElementDropDownChanged

public void eventConsumeElementDropDownChanged(String id,
                                               DropDownSelectionChangedEvent<de.lessvoid.nifty.examples.defaultcontrols.eventconsume.EventConsumeDialogController.ElementInfo> e)

eventConsumeIgnoreMouseEventsCheckBoxToggle

public void eventConsumeIgnoreMouseEventsCheckBoxToggle(String id,
                                                        CheckBoxStateChangedEvent e)

eventConsumeIgnoreKeyboardEventsCheckBoxToggle

public void eventConsumeIgnoreKeyboardEventsCheckBoxToggle(String id,
                                                           CheckBoxStateChangedEvent e)

onButtonClick

public void onButtonClick(String id,
                          ButtonClickedEvent e)


Copyright © 2012. All Rights Reserved.