|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--java.awt.AWTEvent | +--sub_arctic.input.work_event
This is a subtype of the AWTEvent class which we use to force ourselves to be synchronized with the event dispatch process. This event is sent to a component and it eventually ends up being dispatched by the event handling code of subarctic.
Field Summary | |
protected java.lang.Object |
_obj
The object to pass to the work proc when it runs. |
protected work_proc |
_proc
The work to do. |
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 | |
work_event(java.lang.Object source,
int type,
work_proc p,
java.lang.Object o)
Create a new work_event with a given work_proc and parameter. |
Method Summary | |
java.lang.Object |
obj()
Retrieve the object to be passed to the work proc when it runs. |
work_proc |
proc()
Retrieve the work proc from this pair. |
Methods inherited from class java.awt.AWTEvent |
consume,
getID,
isConsumed,
paramString,
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 |
protected work_proc _proc
protected java.lang.Object _obj
Constructor Detail |
public work_event(java.lang.Object source, int type, work_proc p, java.lang.Object o)
Object
- source the generator of this eventint
- type the type of this event (WORK_EVENT)work_proc
- p the work to be performedObject
- o the parameter to pass the work_procMethod Detail |
public work_proc proc()
public java.lang.Object obj()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |