- java.lang.Object
-
- javax.swing.plaf.basic.BasicTreeUI.TreeSelectionHandler
-
- All Implemented Interfaces:
-
EventListener
,TreeSelectionListener
- Enclosing class:
- BasicTreeUI
public class BasicTreeUI.TreeSelectionHandler extends Object implements TreeSelectionListener
监听选择模型中的更改,并相应地更新显示。
-
-
方法详细信息
-
valueChanged
public void valueChanged(TreeSelectionEvent event)
当我们显示的树中的选择发生变化时,会消失。 停止编辑,超级消息并显示已更改的路径。- Specified by:
-
valueChanged
在接口TreeSelectionListener
- 参数
-
event
- the event that characterizes the change.
-
-