1. /*
  2. * @(#)ChangeListener.java 1.8 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package javax.swing.event;
  11. import java.util.EventListener;
  12. /**
  13. * Defines an object which listens for ChangeEvents.
  14. *
  15. * @version 1.8 02/02/00
  16. * @author Jeff Dinkins
  17. */
  18. public interface ChangeListener extends EventListener {
  19. /**
  20. * Invoked when the target of the listener has changed its state.
  21. *
  22. * @param e a ChangeEvent object
  23. */
  24. void stateChanged(ChangeEvent e);
  25. }