public interface TreeitemRenderer<T>
Tree
.
Note: changing a render will not cause the tree to re-render.
If you want it to re-render, you could assign the same model again
(i.e., setModel(getModel())), or fire an TreeDataEvent
event.
Modifier and Type | Method and Description |
---|---|
void |
render(Treeitem item,
T data,
int index)
Renders the data to the specified tree item.
|
void render(Treeitem item, T data, int index) throws java.lang.Exception
item
- the Treeitem to render the result.
data
- that is used to render the Treeitemindex
- the index of the data that is currently being rendered.
Notice the index is the order of the siblings (i.e., data that belongs
to the same parent).java.lang.Exception
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.