com.jpeterson.x10
Class AWTGatewayQueue.AWTControlEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.AWTEvent
              |
              +--com.jpeterson.x10.AWTGatewayQueue.AWTControlEvent
Enclosing class:
AWTGatewayQueue

protected class AWTGatewayQueue.AWTControlEvent
extends java.awt.AWTEvent

Encapsulate a control event within an AWT event.

See Also:
Serialized Form

Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected AWTGatewayQueue.AWTControlEvent(java.lang.Object source, ControlEvent e, ControlEventDispatcher handler)
          Create a new AWTControlEvent to encapsulate the ControlEvent e.
 
Method Summary
 ControlEvent getControlEvent()
          Retrieve the encapsulated control event.
 ControlEventDispatcher getHandler()
          Retrieve the handler for the event.
 
Methods inherited from class java.awt.AWTEvent
consume, finalize, getID, isConsumed, paramString, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AWTGatewayQueue.AWTControlEvent

protected AWTGatewayQueue.AWTControlEvent(java.lang.Object source,
                                          ControlEvent e,
                                          ControlEventDispatcher handler)
Create a new AWTControlEvent to encapsulate the ControlEvent e.
Parameters:
e - the control event
handler - GatewayImpl class with the dispatchControlEvent to call
Method Detail

getControlEvent

public ControlEvent getControlEvent()
Retrieve the encapsulated control event.
Returns:
the encapsulated control event.

getHandler

public ControlEventDispatcher getHandler()
Retrieve the handler for the event.
Returns:
Gateway implementation to handle the AWTControlEvent.