public class TreeBoxControl extends AbstractController implements TreeBox
| Constructor and Description |
|---|
TreeBoxControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes) |
boolean |
inputEvent(NiftyInputEvent inputEvent) |
void |
onListBoxSelectionChanged(String id,
ListBoxSelectionChangedEvent<TreeEntryModelClass> event)
When the selection of the ListBox changes this method is called.
|
void |
onStartScreen() |
void |
setTree(TreeItem treeRoot) |
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, layoutCallback, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind in interface Controllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic void onListBoxSelectionChanged(String id, ListBoxSelectionChangedEvent<TreeEntryModelClass> event)
Copyright © 2013. All Rights Reserved.