Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.
Copyright © 2006 Sun Microsystems, Inc. All rights reserved.
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.
Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.
For more information, please consult the JSR 209 specification.