1. /*
  2. * @(#)InternalFrameAdapter.java 1.9 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. /**
  12. * An abstract adapter class for receiving internal frame events.
  13. * The methods in this class are empty. This class exists as
  14. * convenience for creating listener objects, and is functionally
  15. * equivalent to the WindowAdapter class in the AWT.
  16. * <p>
  17. * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/events/internalframelistener.html">How to Write an Internal Frame Listener</a>
  18. * in <em>The Java Tutorial</em> and
  19. * <a href="http://www.awl.com/cp/javaseries/jcl1_2.html">The Java Class Libraries (update)</a>
  20. *
  21. * @see InternalFrameEvent
  22. * @see InternalFrameListener
  23. * @see java.awt.event.WindowListener
  24. *
  25. * @version 1.9 02/02/00
  26. * @author Thomas Ball
  27. */
  28. public abstract class InternalFrameAdapter implements InternalFrameListener {
  29. /**
  30. * Invoked when an internal frame has been opened.
  31. */
  32. public void internalFrameOpened(InternalFrameEvent e) {}
  33. /**
  34. * Invoked when an internal frame is in the process of being closed.
  35. * The close operation can be overridden at this point.
  36. */
  37. public void internalFrameClosing(InternalFrameEvent e) {}
  38. /**
  39. * Invoked when an internal frame has been closed.
  40. */
  41. public void internalFrameClosed(InternalFrameEvent e) {}
  42. /**
  43. * Invoked when an internal frame is iconified.
  44. */
  45. public void internalFrameIconified(InternalFrameEvent e) {}
  46. /**
  47. * Invoked when an internal frame is de-iconified.
  48. */
  49. public void internalFrameDeiconified(InternalFrameEvent e) {}
  50. /**
  51. * Invoked when an internal frame is activated.
  52. */
  53. public void internalFrameActivated(InternalFrameEvent e) {}
  54. /**
  55. * Invoked when an internal frame is de-activated.
  56. */
  57. public void internalFrameDeactivated(InternalFrameEvent e) {}
  58. }