0
有没有一种简单的遍历gwt树的方法?我想念像hasChild().. 我需要像GWT的树的所有制结构这样一些方法:GWT树遍历
1
/\
2 3
/\
4 5
因此,这将不足以把TreeItems在堆栈上。
有没有一种简单的遍历gwt树的方法?我想念像hasChild().. 我需要像GWT的树的所有制结构这样一些方法:GWT树遍历
1
/\
2 3
/\
4 5
因此,这将不足以把TreeItems在堆栈上。
您可以使用TreeItem.getChildCount()
和TreeItem.getChild(int)
树有Tree.getItemCount()
和Tree.getItem(int)