javax.swing.event
Interface TreeSelectionListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- JTree.TreeSelectionRedirector
- public interface TreeSelectionListener
- extends java.util.EventListener
The listener that's notified when the selection in a TreeSelectionModel
changes.
For more information and examples see
How to Write a Tree Selection Listener,
a section in The Java Tutorial.
- See Also:
TreeSelectionModel
,
JTree
valueChanged
public void valueChanged(TreeSelectionEvent e)
- Called whenever the value of the selection changes.
- Parameters:
e
- the event that characterizes the change.
Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.