de.lessvoid.nifty.controls.listbox
Class ListBoxItemController<T>

java.lang.Object
  extended by de.lessvoid.nifty.controls.AbstractController
      extended by de.lessvoid.nifty.controls.listbox.ListBoxItemController<T>
All Implemented Interfaces:
Controller, NiftyControl

public class ListBoxItemController<T>
extends AbstractController


Constructor Summary
ListBoxItemController()
           
 
Method Summary
 void bind(Nifty niftyParam, Screen screenParam, Element newElement, Properties properties, Attributes controlDefinitionAttributes)
           
 boolean inputEvent(NiftyInputEvent inputEvent)
           
 void listBoxItemClicked()
           
 void onFocus(boolean getFocus)
           
 void onStartScreen()
           
 void setItemIndex(int visualItemIndex)
           
 void setListBox(ListBoxImpl<T> listBox)
           
 
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
 

Constructor Detail

ListBoxItemController

public ListBoxItemController()
Method Detail

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.