de.lessvoid.nifty.examples.defaultcontrols.textfield
Class TextFieldDialogController

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

public class TextFieldDialogController
extends Object
implements Controller

The ListBoxDialog to show off the new ListBox and a couple of more new Nifty 1.3 things.

Author:
void

Constructor Summary
TextFieldDialogController()
           
 
Method Summary
 void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
           
 void init(Properties parameter, Attributes controlDefinitionAttributes)
           
 boolean inputEvent(NiftyInputEvent inputEvent)
           
 void onFocus(boolean getFocus)
           
 void onMaxLengthEnableCheckBoxChanged(String id, CheckBoxStateChangedEvent event)
           
 void onMaxLengthTextChanged(String id, TextFieldChangedEvent event)
           
 void onPasswordCharCheckBoxChanged(String id, CheckBoxStateChangedEvent event)
           
 void onPasswordCharTextFieldChanged(String id, TextFieldChangedEvent event)
           
 void onStartScreen()
           
 void onTextChanged(String id, NiftyInputEvent event)
           
 void onTextChanged(String id, TextFieldChangedEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFieldDialogController

public TextFieldDialogController()
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

onPasswordCharCheckBoxChanged

public void onPasswordCharCheckBoxChanged(String id,
                                          CheckBoxStateChangedEvent event)

onMaxLengthEnableCheckBoxChanged

public void onMaxLengthEnableCheckBoxChanged(String id,
                                             CheckBoxStateChangedEvent event)

onPasswordCharTextFieldChanged

public void onPasswordCharTextFieldChanged(String id,
                                           TextFieldChangedEvent event)

onTextChanged

public void onTextChanged(String id,
                          TextFieldChangedEvent event)

onMaxLengthTextChanged

public void onMaxLengthTextChanged(String id,
                                   TextFieldChangedEvent event)

onTextChanged

public void onTextChanged(String id,
                          NiftyInputEvent event)


Copyright © 2011. All Rights Reserved.