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