public class SelectionSaver
extends java.lang.Object
implements javax.swing.event.TreeSelectionListener, javax.swing.event.TreeModelListener, java.beans.PropertyChangeListener
Modifier and Type | Method and Description |
---|---|
static void |
installOn(javax.swing.JTree tree) |
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
void |
treeNodesChanged(javax.swing.event.TreeModelEvent e) |
void |
treeNodesInserted(javax.swing.event.TreeModelEvent e) |
void |
treeNodesRemoved(javax.swing.event.TreeModelEvent treeModelEvent) |
void |
treeStructureChanged(javax.swing.event.TreeModelEvent e) |
void |
valueChanged(javax.swing.event.TreeSelectionEvent e) |
public static void installOn(javax.swing.JTree tree)
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
public void treeNodesRemoved(javax.swing.event.TreeModelEvent treeModelEvent)
treeNodesRemoved
in interface javax.swing.event.TreeModelListener
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
valueChanged
in interface javax.swing.event.TreeSelectionListener
public void treeNodesChanged(javax.swing.event.TreeModelEvent e)
treeNodesChanged
in interface javax.swing.event.TreeModelListener
public void treeNodesInserted(javax.swing.event.TreeModelEvent e)
treeNodesInserted
in interface javax.swing.event.TreeModelListener
public void treeStructureChanged(javax.swing.event.TreeModelEvent e)
treeStructureChanged
in interface javax.swing.event.TreeModelListener