17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.awt.event;
27
28 import java.awt.Window;
29 import java.lang.annotation.Native;
30 import sun.awt.AppContext;
31 import sun.awt.SunToolkit;
32
33 /**
34 * A low-level event that indicates that a window has changed its status. This
35 * low-level event is generated by a Window object when it is opened, closed,
36 * activated, deactivated, iconified, or deiconified, or when focus is
37 * transfered into or out of the Window.
38 * <P>
39 * The event is passed to every <code>WindowListener</code>
40 * or <code>WindowAdapter</code> object which registered to receive such
41 * events using the window's <code>addWindowListener</code> method.
42 * (<code>WindowAdapter</code> objects implement the
43 * <code>WindowListener</code> interface.) Each such listener object
44 * gets this <code>WindowEvent</code> when the event occurs.
45 * <p>
46 * An unspecified behavior will be caused if the {@code id} parameter
47 * of any particular {@code WindowEvent} instance is not
48 * in the range from {@code WINDOW_FIRST} to {@code WINDOW_LAST}.
49 *
50 * @author Carl Quinn
51 * @author Amy Fowler
52 *
53 * @see WindowAdapter
54 * @see WindowListener
55 * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/windowlistener.html">Tutorial: Writing a Window Listener</a>
56 *
57 * @since 1.1
|
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.awt.event;
27
28 import java.awt.Window;
29 import java.lang.annotation.Native;
30 import sun.awt.AppContext;
31 import sun.awt.SunToolkit;
32
33 /**
34 * A low-level event that indicates that a window has changed its status. This
35 * low-level event is generated by a Window object when it is opened, closed,
36 * activated, deactivated, iconified, or deiconified, or when focus is
37 * transferred into or out of the Window.
38 * <P>
39 * The event is passed to every <code>WindowListener</code>
40 * or <code>WindowAdapter</code> object which registered to receive such
41 * events using the window's <code>addWindowListener</code> method.
42 * (<code>WindowAdapter</code> objects implement the
43 * <code>WindowListener</code> interface.) Each such listener object
44 * gets this <code>WindowEvent</code> when the event occurs.
45 * <p>
46 * An unspecified behavior will be caused if the {@code id} parameter
47 * of any particular {@code WindowEvent} instance is not
48 * in the range from {@code WINDOW_FIRST} to {@code WINDOW_LAST}.
49 *
50 * @author Carl Quinn
51 * @author Amy Fowler
52 *
53 * @see WindowAdapter
54 * @see WindowListener
55 * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/windowlistener.html">Tutorial: Writing a Window Listener</a>
56 *
57 * @since 1.1
|