diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-04-09 04:13:27 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-04-09 04:13:27 +0000 |
commit | 4eaf5996ad3b761bfb2abd6d65f78b43c4f9a4e5 (patch) | |
tree | 1e2e281864fa888859e506a2a5927e991dbce865 /libjava/java/awt/event/WindowEvent.java | |
parent | 3bd835f73ff668e5214eb8be402781d594ea93dc (diff) | |
download | gcc-4eaf5996ad3b761bfb2abd6d65f78b43c4f9a4e5.zip gcc-4eaf5996ad3b761bfb2abd6d65f78b43c4f9a4e5.tar.gz gcc-4eaf5996ad3b761bfb2abd6d65f78b43c4f9a4e5.tar.bz2 |
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
* java/awt/IllegalComponentStateException.java: New file.
* java/awt/ItemSelectable.java: New file.
* java/awt/event/WindowEvent.java: Finished.
* java/awt/event/TextEvent.java: Finished.
* java/awt/event/ContainerEvent.java: New file.
* java/awt/Component.java (getX, getY): New methods.
* java/awt/event/PaintEvent.java: New file.
* java/awt/event/MouseEvent.java: New file.
* java/awt/ActiveEvent.java: New file.
* java/awt/event/KeyEvent.java: Finished.
* java/awt/event/ItemEvent.java: New file.
* java/awt/Adjustable.java: New file.
* java/awt/event/InputMethodEvent.java: New file.
* java/awt/event/InputEvent.java: Finished.
* java/awt/event/FocusEvent.java: New file.
* java/awt/event/MouseMotionAdapter.java: New file.
* java/awt/event/MouseAdapter.java: New file.
* java/awt/event/KeyAdapter.java: New file.
* java/awt/event/FocusAdapter.java: New file.
* java/awt/event/ContainerAdapter.java: New file.
* java/awt/event/ComponentEvent.java: Finished.
* java/awt/event/AdjustmentEvent.java: New file.
* java/awt/event/ComponentAdapter.java: New file.
* java/awt/event/ActionEvent.java: Finished.
* java/awt/event/MouseMotionListener.java: New file.
* java/awt/event/MouseListener.java: New file.
* java/awt/event/ItemListener.java: New file.
* java/awt/event/InputMethodListener.java: New file.
* java/awt/event/ContainerListener.java: New file.
* java/awt/event/FocusListener.java: New file.
* java/awt/event/ComponentListener.java: New file.
* java/awt/event/AWTEventListener.java: New file.
* java/awt/event/AdjustmentListener.java: New file.
From-SVN: r33034
Diffstat (limited to 'libjava/java/awt/event/WindowEvent.java')
-rw-r--r-- | libjava/java/awt/event/WindowEvent.java | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/libjava/java/awt/event/WindowEvent.java b/libjava/java/awt/event/WindowEvent.java index ac04921..7e00f0e 100644 --- a/libjava/java/awt/event/WindowEvent.java +++ b/libjava/java/awt/event/WindowEvent.java @@ -1,4 +1,4 @@ -/* Copyright (C) 1999 Free Software Foundation +/* Copyright (C) 1999, 2000 Free Software Foundation This file is part of libjava. @@ -7,13 +7,34 @@ Libjava License. Please consult the file "LIBJAVA_LICENSE" for details. */ package java.awt.event; +import java.awt.*; -/* A very incomplete placeholder. */ +/* Status: Believed complete and correct to JDK 1.2. */ public class WindowEvent extends ComponentEvent { - public WindowEvent (Object source, int id) + public static final int WINDOW_ACTIVATED = 205; + public static final int WINDOW_CLOSED = 202; + public static final int WINDOW_CLOSING = 201; + public static final int WINDOW_DEACTIVATED = 206; + public static final int WINDOW_DEICONIFIED = 204; + public static final int WINDOW_FIRST = 200; + public static final int WINDOW_ICONIFIED = 203; + public static final int WINDOW_LAST = 206; + public static final int WINDOW_OPENED = 200; + + public WindowEvent (Window source, int id) + { + super (source, id); + } + + public Window getWindow () + { + return (Window) source; + } + + public String paramString () { - super(source, id); + return super.paramString (); } } |