You need the parameters in Listing 2 to construct a TreeModel.
您需要清单2中的参数来构建一个TreeModel。
TreeModel is also in charge of notifying the Tree of changes to the data.
TreeModel还负责将Tree的更改通知给该数据。
Look through the source code of TreeGrid and TreeModel in Listing 6 to see how expanding sub-rows work.
仔细查看清单6中的TreeGrid和treemodel源代码,看看如何展开子条目。
应用推荐