T
- public static class ListBox.ListBoxViewConverterSimple<T> extends Object implements ListBox.ListBoxViewConverter<T>
Constructor and Description |
---|
ListBox.ListBoxViewConverterSimple() |
Modifier and Type | Method and Description |
---|---|
void |
display(de.lessvoid.nifty.elements.Element element,
T item)
Display the given item in the given element.
|
int |
getWidth(de.lessvoid.nifty.elements.Element element,
T item)
Return the width in pixel of the given item rendered for the given element.
|
public void display(de.lessvoid.nifty.elements.Element element, T item)
ListBox.ListBoxViewConverter
display
in interface ListBox.ListBoxViewConverter<T>
element
- the element to display the item initem
- the item to displaypublic int getWidth(de.lessvoid.nifty.elements.Element element, T item)
ListBox.ListBoxViewConverter
getWidth
in interface ListBox.ListBoxViewConverter<T>
element
- the element to renderitem
- the item to renderCopyright © 2013. All Rights Reserved.