Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含“Test”类对象的列表;
List<Test> testList;
Test 类本身也包含一个列表:
public class Test { private List<Test> children; ... }
现在我想显示 testList 并能够选择对象。当我单击(选择)一个对象时,它的子对象也应该显示出来。
到目前为止,我正在处理一棵树。但我想使用另一种选择。有没有更适合和更好看的网络?