de.lessvoid.nifty.controls.listbox
Class ListBoxItemController<T>
java.lang.Object
de.lessvoid.nifty.controls.AbstractController
de.lessvoid.nifty.controls.listbox.ListBoxItemController<T>
- All Implemented Interfaces:
- Controller, NiftyControl
public class ListBoxItemController<T>
- extends AbstractController
Methods inherited from class de.lessvoid.nifty.controls.AbstractController |
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListBoxItemController
public ListBoxItemController()
bind
public void bind(Nifty niftyParam,
Screen screenParam,
Element newElement,
Properties properties,
Attributes controlDefinitionAttributes)
onStartScreen
public void onStartScreen()
onFocus
public void onFocus(boolean getFocus)
- Specified by:
onFocus
in interface Controller
- Overrides:
onFocus
in class AbstractController
inputEvent
public boolean inputEvent(NiftyInputEvent inputEvent)
listBoxItemClicked
public void listBoxItemClicked()
setListBox
public void setListBox(ListBoxImpl<T> listBox)
setItemIndex
public void setItemIndex(int visualItemIndex)
Copyright © 2011. All Rights Reserved.