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