public class ListBoxDialogController extends Object implements Controller
Constructor and Description |
---|
ListBoxDialogController() |
Modifier and Type | Method and Description |
---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes) |
void |
init(Properties parameter,
Attributes controlDefinitionAttributes) |
boolean |
inputEvent(NiftyInputEvent inputEvent) |
void |
onAddTextFieldInputEvent(String id,
NiftyInputEvent event) |
void |
onAllCheckBoxChanged(String id,
CheckBoxStateChangedEvent event)
This is an example how we could use a regular expression to select the elements we're interested in.
|
void |
onAppendButtonClicked(String id,
ButtonClickedEvent event) |
void |
onAppendTextFieldChanged(String id,
TextFieldChangedEvent event) |
void |
onFocus(boolean getFocus) |
void |
onListBoxSelectionChanged(String id,
ListBoxSelectionChangedEvent<JustAnExampleModelClass> changed)
This event handler is directly listening to ListBoxSelectionChangedEvent of a single Control
(the one with the Nifty id "listBox").
|
void |
onRemoveSelectionButtonClicked(String id,
ButtonClickedEvent event) |
void |
onStartScreen() |
public void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind
in interface Controller
public void init(Properties parameter, Attributes controlDefinitionAttributes)
init
in interface Controller
public void onStartScreen()
onStartScreen
in interface Controller
public void onFocus(boolean getFocus)
onFocus
in interface Controller
public boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent
in interface Controller
public void onAllCheckBoxChanged(String id, CheckBoxStateChangedEvent event)
public void onListBoxSelectionChanged(String id, ListBoxSelectionChangedEvent<JustAnExampleModelClass> changed)
public void onAppendTextFieldChanged(String id, TextFieldChangedEvent event)
public void onAddTextFieldInputEvent(String id, NiftyInputEvent event)
public void onAppendButtonClicked(String id, ButtonClickedEvent event)
public void onRemoveSelectionButtonClicked(String id, ButtonClickedEvent event)
Copyright © 2013. All Rights Reserved.