Tree Component Item Rendering
I have created a MyTreeItemrenderer extending TreeItemrenderer.
However, I do not want any label, folder, disclosure icon nor icon. I want to dispaly every node 开发者_Python百科of the tree with my own graphic like eg: a line, round image etc.,
Kindly help me getting the solution.
Thnaks in advance...
Narender R
I think the styles you're looking for are. In this case I'm setting them to null, but you should be able to add a graphic with them.
defaultLeafIcon="{null}"
folderClosedIcon="{null}"
folderOpenIcon="{null}"
精彩评论