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, setWidth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
public void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind
in interface Controller
public void onStartScreen()
onStartScreen
in interface Controller
public boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent
in interface Controller
public void onListBoxSelectionChanged(String id, ListBoxSelectionChangedEvent<TreeEntryModelClass> event)
Copyright © 2013. All Rights Reserved.