|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeitemRenderer<T>
Identifies components that can be used as "rubber stamps" to paint
the cells in a 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.
TreeModel
,
Tree
Method Summary | |
---|---|
void |
render(Treeitem item,
T data,
int index)
Renders the data to the specified tree item. |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |