For example, there is also a SelectionAdapter class that implements SelectionListener.
例如,还有一个selectionadapter类,这个类实现了SelectionListener。
The constructor for the SelectionListener implementation accepts a Boolean variable that defines whether the tree items are to be expanded or collapsed, depending on which button is selected.
SelectionListener 实现的构造函数接受一个布尔变量,该变量定义要展开还是折叠树项目,具体取决于选中了哪个按钮。
应用推荐