KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)InternalFrameListener.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 import java.util.EventListener JavaDoc;
11
12 /**
13  * The listener interface for receiving internal frame events.
14  * This class is functionally equivalent to the WindowListener class
15  * 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  * for further documentation.
21  *
22  * @see java.awt.event.WindowListener
23  *
24  * @version 1.12 12/19/03
25  * @author Thomas Ball
26  */

27 public interface InternalFrameListener extends EventListener JavaDoc {
28     /**
29      * Invoked when a internal frame has been opened.
30      * @see javax.swing.JInternalFrame#show
31      */

32     public void internalFrameOpened(InternalFrameEvent JavaDoc e);
33
34     /**
35      * Invoked when an internal frame is in the process of being closed.
36      * The close operation can be overridden at this point.
37      * @see javax.swing.JInternalFrame#setDefaultCloseOperation
38      */

39     public void internalFrameClosing(InternalFrameEvent JavaDoc e);
40
41     /**
42      * Invoked when an internal frame has been closed.
43      * @see javax.swing.JInternalFrame#setClosed
44      */

45     public void internalFrameClosed(InternalFrameEvent JavaDoc e);
46
47     /**
48      * Invoked when an internal frame is iconified.
49      * @see javax.swing.JInternalFrame#setIcon
50      */

51     public void internalFrameIconified(InternalFrameEvent JavaDoc e);
52
53     /**
54      * Invoked when an internal frame is de-iconified.
55      * @see javax.swing.JInternalFrame#setIcon
56      */

57     public void internalFrameDeiconified(InternalFrameEvent JavaDoc e);
58
59     /**
60      * Invoked when an internal frame is activated.
61      * @see javax.swing.JInternalFrame#setSelected
62      */

63     public void internalFrameActivated(InternalFrameEvent JavaDoc e);
64
65     /**
66      * Invoked when an internal frame is de-activated.
67      * @see javax.swing.JInternalFrame#setSelected
68      */

69     public void internalFrameDeactivated(InternalFrameEvent JavaDoc e);
70 }
71
Popular Tags