T
- public static class DropDown.SimpleDropDownViewConverter<T> extends Object implements DropDown.DropDownViewConverter<T>
Constructor and Description |
---|
DropDown.SimpleDropDownViewConverter() |
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 DropDown.SimpleDropDownViewConverter()
public void display(de.lessvoid.nifty.elements.Element element, T item)
DropDown.DropDownViewConverter
display
in interface DropDown.DropDownViewConverter<T>
element
- the element to display the item initem
- the item to displaypublic int getWidth(de.lessvoid.nifty.elements.Element element, T item)
DropDown.DropDownViewConverter
getWidth
in interface DropDown.DropDownViewConverter<T>
element
- the element to renderitem
- the item to renderCopyright © 2013. All Rights Reserved.