1. /*
  2. * @(#)MenuKeyListener.java 1.6 00/02/02
  3. *
  4. * Copyright 1998-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. * MenuKeyListener
  14. *
  15. * @version 1.6 02/02/00
  16. * @author Georges Saab
  17. */
  18. public interface MenuKeyListener extends EventListener {
  19. /**
  20. * Invoked when a key has been typed.
  21. * This event occurs when a key press is followed by a key release.
  22. */
  23. void menuKeyTyped(MenuKeyEvent e);
  24. /**
  25. * Invoked when a key has been pressed.
  26. */
  27. void menuKeyPressed(MenuKeyEvent e);
  28. /**
  29. * Invoked when a key has been released.
  30. */
  31. void menuKeyReleased(MenuKeyEvent e);
  32. }