|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- public static interface DropDown.DropDownViewConverter<T>
You'll need to implement this interface to change the way your model class T needs to be displayed in the DropDown. If you omit it then Nifty will use its default implementation which simply calls T.toString();
Method Summary | |
---|---|
void |
display(Element itemElement,
T item)
Display the given item in the given element. |
int |
getWidth(Element itemElement,
T item)
Return the width in pixel of the given item rendered for the given element. |
Method Detail |
---|
void display(Element itemElement, T item)
itemElement
- the element to display the item initem
- the item to displayint getWidth(Element itemElement, T item)
itemElement
- the element to renderitem
- the item to render
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |