API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. AWTEvent View Source
Author(s)
Carl Quinn
Amy Fowler
Since
1.1
Version
1.60 04/07/06
Serial
Hierarchy
 Object
      EventObject
          AWTEvent
Implements
Subclasses
Description
publicabstract abstract class AWTEvent
  The root event class for all AWT events.
Constructors
public AWTEvent (Event event)
  Constructs an AWTEvent object from the parameters of a 1.0-style event.
public AWTEvent (Object source, int id)
  Constructs an AWTEvent object with the specified source object and type.
Methods
Hide/Show inherited methods
protected void consume ()
  Consumes this event, if this event can be consumed.
pack-private Event convertToOld ()
  Converts a new event to an old one (used for compatibility).
pack-private void copyPrivateDataInto (AWTEvent that)
  Copies all private data from this event into that.
pack-private void dispatched ()
public int getID ()
Returns the event type.
public Object getSource () [Inherited From EventObject]
  The object on which the Event initially occurred.
protected boolean isConsumed ()
Returns whether this event has been consumed.
public String paramString ()
  Returns a string representing the state of this Event.
public void setSource (Object newSource)
  Retargets an event to a new source.
public String toString () [Overrides EventObject]
Returns a String representation of this object.
Fields
Hide/Show inherited fields
publicfinalstatic long ACTION_EVENT_MASK = "128"
The event mask for selecting action events.
publicfinalstatic long ADJUSTMENT_EVENT_MASK = "256"
The event mask for selecting adjustment events.
publicfinalstatic long COMPONENT_EVENT_MASK = "1"
The event mask for selecting component events.
protected boolean consumed
  Controls whether or not the event is sent back down to the peer once the source has processed it - false means it's sent to the peer; true means it's not.
publicfinalstatic long CONTAINER_EVENT_MASK = "2"
The event mask for selecting container events.
publicfinalstatic long FOCUS_EVENT_MASK = "4"
The event mask for selecting focus events.
pack-privatetransient boolean focusManagerIsDispatching
publicfinalstatic long HIERARCHY_BOUNDS_EVENT_MASK = "65536"
The event mask for selecting hierarchy bounds events.
publicfinalstatic long HIERARCHY_EVENT_MASK = "32768"
The event mask for selecting hierarchy events.
protected int id
  The event's id.
publicfinalstatic long INPUT_METHOD_EVENT_MASK = "2048"
The event mask for selecting input method events.
pack-privatefinalstatic long INPUT_METHODS_ENABLED_MASK = "4096"
  The pseudo event mask for enabling input methods.
publicfinalstatic long INVOCATION_EVENT_MASK = "16384"
The event mask for selecting invocation events.
pack-privatetransient boolean isPosted
publicfinalstatic long ITEM_EVENT_MASK = "512"
The event mask for selecting item events.
publicfinalstatic long KEY_EVENT_MASK = "8"
The event mask for selecting key events.
publicfinalstatic long MOUSE_EVENT_MASK = "16"
The event mask for selecting mouse events.
publicfinalstatic long MOUSE_MOTION_EVENT_MASK = "32"
The event mask for selecting mouse motion events.
publicfinalstatic long MOUSE_WHEEL_EVENT_MASK = "131072"
  The event mask for selecting mouse wheel events.
publicfinalstatic long PAINT_EVENT_MASK = "8192"
The event mask for selecting paint events.
publicfinalstatic int RESERVED_ID_MAX = "1999"
  The maximum value for reserved AWT event IDs.
protectedtransient Object source [Inherited From EventObject]
The object on which the Event initially occurred.
publicfinalstatic long TEXT_EVENT_MASK = "1024"
The event mask for selecting text events.
publicfinalstatic long WINDOW_EVENT_MASK = "64"
The event mask for selecting window events.
publicfinalstatic long WINDOW_FOCUS_EVENT_MASK = "524288"
  The event mask for selecting window focus events.
publicfinalstatic long WINDOW_STATE_EVENT_MASK = "262144"
  The event mask for selecting window state events.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar