javax.swing
protected class: JTree.TreeSelectionRedirector [javadoc |
source]
java.lang.Object
javax.swing.JTree$TreeSelectionRedirector
All Implemented Interfaces:
TreeSelectionListener, Serializable
Handles creating a new
TreeSelectionEvent with the
JTree as the
source and passing it off to all the listeners.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans package.
Please see java.beans.XMLEncoder .
| Method from javax.swing.JTree$TreeSelectionRedirector Summary: |
|---|
|
valueChanged |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from javax.swing.JTree$TreeSelectionRedirector Detail: |
public void valueChanged(TreeSelectionEvent e) {
TreeSelectionEvent newE;
newE = (TreeSelectionEvent)e.cloneWithSource(JTree.this);
fireValueChanged(newE);
}
Invoked by the TreeSelectionModel when the
selection changes. |