Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.Event

Availability: JDK 1.0

public class Event extends Object implements Serializable {
   // Public Constructors
      public Event(Object target, long when, int id, int x, int y, int key, int modifiers, Object arg);
      public Event(Object target, long when, int id, int x, int y, int key, int modifiers);
      public Event(Object target, int id, Object arg);
   // Constants
      public static final int ACTION_EVENT;
      public static final int ALT_MASK;
1.1  public static final int BACK_SPACE;
1.1  public static final int CAPS_LOCK;
      public static final int CTRL_MASK;
1.1  public static final int DELETE;
      public static final int DOWN;
      public static final int END;
1.1  public static final int ENTER;
1.1  public static final int ESCAPE;
      public static final int F1;
      public static final int F10;
      public static final int F11;
      public static final int F12;
      public static final int F2;
      public static final int F3;
      public static final int F4;
      public static final int F5;
      public static final int F6;
      public static final int F7;
      public static final int F8;
      public static final int F9;
      public static final int GOT_FOCUS;
      public static final int HOME;
1.1  public static final int INSERT;
      public static final int KEY_ACTION;
      public static final int KEY_ACTION_RELEASE;
      public static final int KEY_PRESS;
      public static final int KEY_RELEASE;
      public static final int LEFT;
      public static final int LIST_DESELECT;
      public static final int LIST_SELECT;
      public static final int LOAD_FILE;
      public static final int LOST_FOCUS;
      public static final int META_MASK;
      public static final int MOUSE_DOWN;
      public static final int MOUSE_DRAG;
      public static final int MOUSE_ENTER;
      public static final int MOUSE_EXIT;
      public static final int MOUSE_MOVE;
      public static final int MOUSE_UP;
1.1  public static final int NUM_LOCK;
1.1  public static final int PAUSE;
      public static final int PGDN;
      public static final int PGUP;
1.1  public static final int PRINT_SCREEN;
      public static final int RIGHT;
      public static final int SAVE_FILE;
      public static final int SCROLL_ABSOLUTE;
1.1  public static final int SCROLL_BEGIN;
1.1  public static final int SCROLL_END;
      public static final int SCROLL_LINE_DOWN;
      public static final int SCROLL_LINE_UP;
1.1  public static final int SCROLL_LOCK;
      public static final int SCROLL_PAGE_DOWN;
      public static final int SCROLL_PAGE_UP;
      public static final int SHIFT_MASK;
1.1  public static final int TAB;
      public static final int UP;
      public static final int WINDOW_DEICONIFY;
      public static final int WINDOW_DESTROY;
      public static final int WINDOW_EXPOSE;
      public static final int WINDOW_ICONIFY;
      public static final int WINDOW_MOVED;
   // Public Instance Variables
      public Object arg;
      public int clickCount;
      public Event evt;
      public int id;
      public int key;
      public int modifiers;
      public Object target;
      public long when;
      public int x;
      public int y;
   // Public Instance Methods
      public boolean controlDown();
      public boolean metaDown();
      public boolean shiftDown();
      public String toString();  // Overrides Object.toString()
      public void translate(int x, int y);
   // Protected Instance Methods
      protected String paramString();
}
Passed To:
AWTEvent.AWTEvent(), Component.action(), Component.deliverEvent(), Component.gotFocus(), Component.handleEvent(), Component.keyDown(), Component.keyUp(), Component.lostFocus(), Component.mouseDown(), Component.mouseDrag(), Component.mouseEnter(), Component.mouseExit(), Component.mouseMove(), Component.mouseUp(), Component.postEvent(), Container.deliverEvent(), MenuComponent.postEvent(), MenuContainer.postEvent(), PopupMenuPeer.show(), Window.postEvent().
Type Of:
Event.evt.

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.