public class ChatBoxViewConverter extends Object implements ListBox.ListBoxViewConverter<ChatEntryModelClass>
| Constructor and Description |
|---|
ChatBoxViewConverter()
Default constructor.
|
| Modifier and Type | Method and 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(Element listBoxItem, ChatEntryModelClass item)
display in interface ListBox.ListBoxViewConverter<ChatEntryModelClass>listBoxItem - the element to display the item initem - the item to displaypublic final int getWidth(Element listBoxItem, ChatEntryModelClass item)
getWidth in interface ListBox.ListBoxViewConverter<ChatEntryModelClass>listBoxItem - the element to renderitem - the item to renderCopyright © 2013. All Rights Reserved.