T - DropDown.DropDownViewConverter<T>public static class DropDown.SimpleDropDownViewConverter<T> extends java.lang.Object implements DropDown.DropDownViewConverter<T>
| Constructor | Description |
|---|---|
SimpleDropDownViewConverter() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
display(Element element,
T item) |
Display the given item in the given element.
|
int |
getWidth(Element element,
T item) |
Return the width in pixel of the given item rendered for the given element.
|
public void display(@Nonnull
Element element,
@Nullable
T item)
DropDown.DropDownViewConverterdisplay in interface DropDown.DropDownViewConverter<T>element - the element to display the item initem - the item to displaypublic int getWidth(@Nonnull
Element element,
@Nonnull
T item)
DropDown.DropDownViewConvertergetWidth in interface DropDown.DropDownViewConverter<T>element - the element to renderitem - the item to renderCopyright © 2018. All rights reserved.