1. /*
  2. * @(#)TreeSelectionListener.java 1.9 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.swing.event;
  8. import java.util.EventListener;
  9. /**
  10. * The listener that's notified when the selection in a TreeSelectionModel
  11. * changes.
  12. *
  13. * @see javax.swing.tree.TreeSelectionModel
  14. * @see javax.swing.JTree
  15. *
  16. * @version 1.9 11/29/01
  17. * @author Scott Violet
  18. */
  19. public interface TreeSelectionListener extends EventListener
  20. {
  21. /**
  22. * Called whenever the value of the selection changes.
  23. * @param e the event that characterizes the change.
  24. */
  25. void valueChanged(TreeSelectionEvent e);
  26. }