|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.controls.chatcontrol.ChatBoxViewConverter
public class ChatBoxViewConverter
Handles the displaying of the items in the ChatBox.
Constructor Summary | |
---|---|
ChatBoxViewConverter()
Default constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChatBoxViewConverter()
Method Detail |
---|
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 render
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |