public class TreeBoxViewConverter extends Object implements ListBox.ListBoxViewConverter<TreeEntryModelClass>
| Constructor and Description |
|---|
TreeBoxViewConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
display(Element listBoxItem,
TreeEntryModelClass item)
Display the given item in the given element.
|
int |
getWidth(Element element,
TreeEntryModelClass item)
Return the width in pixel of the given item rendered for the given element.
|
public void display(Element listBoxItem, TreeEntryModelClass item)
ListBox.ListBoxViewConverterdisplay in interface ListBox.ListBoxViewConverter<TreeEntryModelClass>listBoxItem - the element to display the item initem - the item to displaypublic int getWidth(Element element, TreeEntryModelClass item)
ListBox.ListBoxViewConvertergetWidth in interface ListBox.ListBoxViewConverter<TreeEntryModelClass>element - the element to renderitem - the item to renderCopyright © 2013. All Rights Reserved.