1. /*
  2. * @(#)ListSelectionListener.java 1.11 03/01/23
  3. *
  4. * Copyright 2003 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 a lists selection value
  11. * changes.
  12. *
  13. * @see javax.swing.ListSelectionModel
  14. *
  15. * @version 1.11 01/23/03
  16. * @author Hans Muller
  17. */
  18. public interface ListSelectionListener extends EventListener
  19. {
  20. /**
  21. * Called whenever the value of the selection changes.
  22. * @param e the event that characterizes the change.
  23. */
  24. void valueChanged(ListSelectionEvent e);
  25. }