javax.swing
Class JTree.TreeSelectionRedirector

java.lang.Object
javax.swing.JTree.TreeSelectionRedirector
- All Implemented Interfaces:
- java.util.EventListener, java.io.Serializable, javax.swing.event.TreeSelectionListener
- Enclosing class:
- JTree
- protected class JTree.TreeSelectionRedirector
- extends java.lang.Object
- implements javax.swing.event.TreeSelectionListener, java.io.Serializable
This redirects TreeSelectionEvents and rewrites the source of it to be
this JTree. This is typically done when the tree model generates an
event, but the JTree object associated with that model should be listed
as the actual source of the event.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- The serial version UID.
- See Also:
- Constant Field Values
JTree.TreeSelectionRedirector
protected JTree.TreeSelectionRedirector()
- Creates a new instance of TreeSelectionRedirector
valueChanged
public void valueChanged(javax.swing.event.TreeSelectionEvent ev)
- Notifies when the tree selection changes.
- Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener