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.
void render(Treeitem item, T data, int index) throws 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).ExceptionCopyright © 2015. All rights reserved.