torero.gui
Class MyTreeUI.TreeSelectionHandler

java.lang.Object
  |
  +--torero.gui.MyTreeUI.TreeSelectionHandler
All Implemented Interfaces:
EventListener, TreeSelectionListener
Enclosing class:
MyTreeUI

public class MyTreeUI.TreeSelectionHandler
extends Object
implements TreeSelectionListener

Listens for changes in the selection model and updates the display accordingly.


Constructor Summary
MyTreeUI.TreeSelectionHandler()
           
 
Method Summary
 void valueChanged(TreeSelectionEvent event)
          Messaged when the selection changes in the tree we're displaying for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyTreeUI.TreeSelectionHandler

public MyTreeUI.TreeSelectionHandler()
Method Detail

valueChanged

public void valueChanged(TreeSelectionEvent event)
Messaged when the selection changes in the tree we're displaying for. Sets the dirty flag of the TreeUI and calls tree.repaint().
Specified by:
valueChanged in interface TreeSelectionListener
Parameters:
e - - ignored.