]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libjava/java/awt/event/ActionEvent.java
Imported gcc-4.4.3
[msp430-gcc.git] / libjava / java / awt / event / ActionEvent.java
diff --git a/libjava/java/awt/event/ActionEvent.java b/libjava/java/awt/event/ActionEvent.java
deleted file mode 100644 (file)
index 891b6bd..0000000
+++ /dev/null
@@ -1,66 +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.*;
-
-/* Status: Believed complete and correct to JDK 1.2.  */
-
-public class ActionEvent extends AWTEvent
-{
-  public static final int ACTION_FIRST = 1001;
-  public static final int ACTION_LAST = 1001;
-  public static final int ACTION_PERFORMED = 1001;
-  public static final int ALT_MASK = 8;
-  public static final int CTRL_MASK = 2;
-  public static final int META_MASK = 4;
-  public static final int SHIFT_MASK = 1;
-
-  String cmd;
-  int modifiers;
-
-  public ActionEvent (Object source, int id, String command)
-  {
-    super(source, id);
-    cmd = command;
-  }
-
-  public ActionEvent (Object source, int id, String command, int modifiers)
-  {
-    super(source, id);
-    cmd = command;
-    this.modifiers = modifiers;
-  }
-
-  public String getActionCommand ()
-  {
-    return cmd;
-  }
-
-  public int getModifiers ()
-  {
-    return modifiers;
-  }
-
-  public String paramString ()
-  {
-    String r;
-    switch (id)
-      {
-        case ACTION_PERFORMED:
-         r = "ACTION_PERFORMED";
-       break;
-       default:
-         r = "unknown type";
-       break;
-      }
-        
-    r += ",cmd=" + cmd;
-    return r;
-  }
-}