public class ListBoxItemController<T> extends AbstractController
| Constructor and Description |
|---|
ListBoxItemController() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Nifty niftyParam,
Screen screenParam,
Element newElement,
Properties properties,
Attributes controlDefinitionAttributes) |
protected ListBoxImpl<T> |
getListBox() |
protected Nifty |
getNifty() |
protected Screen |
getScreen() |
protected int |
getVisualItemIndex() |
boolean |
inputEvent(NiftyInputEvent inputEvent) |
void |
listBoxItemClicked() |
void |
onFocus(boolean getFocus) |
void |
onStartScreen() |
void |
setItemIndex(int visualItemIndex) |
void |
setListBox(ListBoxImpl<T> listBox) |
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic void bind(Nifty niftyParam, Screen screenParam, Element newElement, Properties properties, Attributes controlDefinitionAttributes)
public void onStartScreen()
public void onFocus(boolean getFocus)
onFocus in interface ControlleronFocus in class AbstractControllerpublic boolean inputEvent(NiftyInputEvent inputEvent)
protected ListBoxImpl<T> getListBox()
protected int getVisualItemIndex()
protected Nifty getNifty()
protected Screen getScreen()
public void listBoxItemClicked()
public void setListBox(ListBoxImpl<T> listBox)
public void setItemIndex(int visualItemIndex)
Copyright © 2013. All Rights Reserved.