aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/event/ComponentEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt/event/ComponentEvent.java')
-rw-r--r--libjava/java/awt/event/ComponentEvent.java61
1 files changed, 0 insertions, 61 deletions
diff --git a/libjava/java/awt/event/ComponentEvent.java b/libjava/java/awt/event/ComponentEvent.java
deleted file mode 100644
index bdf80ce2f35..00000000000
--- a/libjava/java/awt/event/ComponentEvent.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation
-
- This file is part of libjava.
-
-This software is copyrighted work licensed under the terms of the
-Libjava License. Please consult the file "LIBJAVA_LICENSE" for
-details. */
-
-package java.awt.event;
-import java.awt.*;
-
-/**
- * @author Tom Tromey <tromey@cygnus.com>
- * @date April 8, 2000
- */
-
-/* Status: Believed complete and correct to JDK 1.2. */
-
-public class ComponentEvent extends AWTEvent
-{
- public static final int COMPONENT_FIRST = 100;
- public static final int COMPONENT_HIDDEN = 103;
- public static final int COMPONENT_LAST = 103;
- public static final int COMPONENT_MOVED = 100;
- public static final int COMPONENT_RESIZED = 101;
- public static final int COMPONENT_SHOWN = 102;
-
- public ComponentEvent (Component source, int id)
- {
- super(source, id);
- }
-
- public Component getComponent ()
- {
- return (Component) source;
- }
-
- public String paramString ()
- {
- String r;
- switch (id)
- {
- case COMPONENT_HIDDEN:
- r = "COMPONENT_HIDDEN";
- break;
- case COMPONENT_MOVED:
- r = "COMPONENT_MOVED";
- break;
- case COMPONENT_RESIZED:
- r = "COMPONENT_RESIZED";
- break;
- case COMPONENT_SHOWN:
- r = "COMPONENT_SHOWN";
- break;
- default:
- r = "unknown id";
- break;
- }
- return r;
- }
-}