Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.AWTEvent

Availability: JDK 1.1

public abstract class AWTEvent extends EventObject {
   // Public Constructors
      public AWTEvent(Event event);
      public AWTEvent(Object source, int id);
   // Constants
      public static final long ACTION_EVENT_MASK;
      public static final long ADJUSTMENT_EVENT_MASK;
      public static final long COMPONENT_EVENT_MASK;
      public static final long CONTAINER_EVENT_MASK;
      public static final long FOCUS_EVENT_MASK;
      public static final long ITEM_EVENT_MASK;
      public static final long KEY_EVENT_MASK;
      public static final long MOUSE_EVENT_MASK;
      public static final long MOUSE_MOTION_EVENT_MASK;
      public static final int RESERVED_ID_MAX;
      public static final long TEXT_EVENT_MASK;
      public static final long WINDOW_EVENT_MASK;
   // Protected Instance Variables
      protected boolean consumed;
      protected int id;
   // Public Instance Methods
      public int getID();
      public String paramString();
      public String toString();  // Overrides EventObject.toString()
   // Protected Instance Methods
      protected void consume();
      protected boolean isConsumed();
}
Extended By:
ActionEvent, AdjustmentEvent, ComponentEvent, ItemEvent, TextEvent.
Passed To:
Button.processEvent(), Checkbox.processEvent(), CheckboxMenuItem.processEvent(), Choice.processEvent(), Component.dispatchEvent(), Component.processEvent(), ComponentPeer.handleEvent(), Container.processEvent(), EventQueue.postEvent(), List.processEvent(), MenuComponent.dispatchEvent(), MenuComponent.processEvent(), MenuItem.processEvent(), Scrollbar.processEvent(), TextComponent.processEvent(), TextField.processEvent(), Window.processEvent().
Returned By:
EventQueue.getNextEvent(), EventQueue.peekEvent().

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