可以通过设定Tree的样式来更改Tree的icon. 如下
_treeLAAndSub = new Tree();
_treeLAAndSub.iconField = "hahah@#$@#$";
_treeLAAndSub.setStyle("folderClosedIcon", ImagesForActions.iconImport); //文件夹关闭时
_treeLAAndSub.setStyle("folderOpenIcon", ImagesForActions.iconExport); //文件夹打开
_treeLAAndSub.setStyle("defaultLeafIcon", ImagesForActions.iconCopy); // 叶子
_treeLAAndSub.setStyle("disclosureOpenIcon", ImagesForActions.iconRemove); //文件夹打开时旁边的图示
_treeLAAndSub.setStyle("disclosureClosedIcon", ImagesForActions.iconAdd); //文件夹关闭时旁边的图示



这样写的话,节点的样式都是一样的,怎么能让各个节点的样式 都不同呢?
如何让每个节点的背景样式都不同呢?
请指教!