java.awt
Class SentEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjava.awt.AWTEvent
          extended byjava.awt.SentEvent
All Implemented Interfaces:
ActiveEvent, Serializable
Direct Known Subclasses:
DefaultKeyboardFocusManager.DefaultKeyboardFocusManagerSentEvent

class SentEvent
extends AWTEvent
implements ActiveEvent

A wrapping tag for a nested AWTEvent which indicates that the event was sent from another AppContext. The destination AppContext should handle the event even if it is currently blocked waiting for a SequencedEvent or another SentEvent to be handled.

Author:
David Mendenhall

Field Summary
(package private)  boolean dispatched
           
(package private) static int ID
           
private  AWTEvent nested
           
private  sun.awt.AppContext toNotify
           
 
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, focusManagerIsDispatching, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INPUT_METHODS_ENABLED_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
(package private) SentEvent()
           
(package private) SentEvent(AWTEvent nested)
           
(package private) SentEvent(AWTEvent nested, sun.awt.AppContext toNotify)
           
 
Method Summary
 void dispatch()
          Dispatch the event to its target, listeners of the events source, or do whatever it is this event is supposed to do.
(package private)  void dispose()
           
 
Methods inherited from class java.awt.AWTEvent
consume, convertToOld, copyPrivateDataInto, getID, isConsumed, paramString, setSource, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

static final int ID
See Also:
Constant Field Values

dispatched

boolean dispatched

nested

private AWTEvent nested

toNotify

private sun.awt.AppContext toNotify
Constructor Detail

SentEvent

SentEvent()

SentEvent

SentEvent(AWTEvent nested)

SentEvent

SentEvent(AWTEvent nested,
          sun.awt.AppContext toNotify)
Method Detail

dispatch

public void dispatch()
Description copied from interface: ActiveEvent
Dispatch the event to its target, listeners of the events source, or do whatever it is this event is supposed to do.

Specified by:
dispatch in interface ActiveEvent

dispose

final void dispose()