APIdia Launch Partner
Top Description Methods
javax.swing.event

public Interface TreeSelectionListener

extends EventListener
Known Direct Implementers
javax.swing.plaf.basic.BasicTreeUI.TreeSelectionHandler, javax.swing.plaf.basic.BasicTreeUI.Handler, javax.swing.tree.DefaultTreeCellEditor, javax.swing.JTree.TreeSelectionRedirector, javax.swing.JTree.AccessibleJTree
Imports
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.
Author
Scott Violet
See Also
javax.swing.tree.TreeSelectionModel, javax.swing.JTree

Method Summary

Modifier and TypeMethod and Description
public void
valueChanged(TreeSelectionEvent
the event that characterizes the change.
e
)

Called whenever the value of the selection changes.

Method Detail

valueChangedback to summary
public void valueChanged(TreeSelectionEvent e)

Called whenever the value of the selection changes.

Parameters
e:TreeSelectionEvent

the event that characterizes the change.