KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > event > InternalFrameAdapter


1 /*
2  * @(#)InternalFrameAdapter.java 1.12 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.swing.event;
9
10 /**
11  * An abstract adapter class for receiving internal frame events.
12  * The methods in this class are empty. This class exists as
13  * convenience for creating listener objects, and is functionally
14  * equivalent to the WindowAdapter class in the AWT.
15  * <p>
16  * See <a HREF="http://java.sun.com/docs/books/tutorial/uiswing/events/internalframelistener.html">How to Write an Internal Frame Listener</a>
17  * in <em>The Java Tutorial</em> and
18  * <a HREF="http://www.awl.com/cp/javaseries/jcl1_2.html">The Java Class Libraries (update)</a>
19  *
20  * @see InternalFrameEvent
21  * @see InternalFrameListener
22  * @see java.awt.event.WindowListener
23  *
24  * @version 1.12 12/19/03
25  * @author Thomas Ball
26  */

27 public abstract class InternalFrameAdapter implements InternalFrameListener JavaDoc {
28     /**
29      * Invoked when an internal frame has been opened.
30      */

31     public void internalFrameOpened(InternalFrameEvent JavaDoc e) {}
32
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 JavaDoc e) {}
38
39     /**
40      * Invoked when an internal frame has been closed.
41      */

42     public void internalFrameClosed(InternalFrameEvent JavaDoc e) {}
43
44     /**
45      * Invoked when an internal frame is iconified.
46      */

47     public void internalFrameIconified(InternalFrameEvent JavaDoc e) {}
48
49     /**
50      * Invoked when an internal frame is de-iconified.
51      */

52     public void internalFrameDeiconified(InternalFrameEvent JavaDoc e) {}
53
54     /**
55      * Invoked when an internal frame is activated.
56      */

57     public void internalFrameActivated(InternalFrameEvent JavaDoc e) {}
58
59     /**
60      * Invoked when an internal frame is de-activated.
61      */

62     public void internalFrameDeactivated(InternalFrameEvent JavaDoc e) {}
63 }
64
Popular Tags