ListBox.ListBoxViewConverter<ChatEntryModelClass>public class ChatBoxViewConverter extends java.lang.Object implements ListBox.ListBoxViewConverter<ChatEntryModelClass>
| Constructor | Description |
|---|---|
ChatBoxViewConverter() |
Default constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
display(Element listBoxItem,
ChatEntryModelClass item) |
Display the given item in the given element.
|
int |
getWidth(Element listBoxItem,
ChatEntryModelClass item) |
Return the width in pixel of the given item rendered for the given element.
|
public final void display(@Nonnull
Element listBoxItem,
@Nonnull
ChatEntryModelClass item)
ListBox.ListBoxViewConverterdisplay in interface ListBox.ListBoxViewConverter<ChatEntryModelClass>listBoxItem - the element to display the item initem - the item to displaypublic final int getWidth(@Nonnull
Element listBoxItem,
@Nonnull
ChatEntryModelClass item)
ListBox.ListBoxViewConvertergetWidth in interface ListBox.ListBoxViewConverter<ChatEntryModelClass>listBoxItem - the element to renderitem - the item to renderCopyright © 2018. All rights reserved.