|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.able.AbleEventConnection
The AbleEventConnection class defines a connection between an AbleBean and an AbleEventListener object. When the source bean fires any AbleEvent, the listener receives the event. Unlike listeners, connections are serializable.
| Field Summary | |
|---|---|
protected AbleBean |
eventSource
The originator of the event. |
protected AbleEventListener |
listenerObj
The listener registered to receive events from the source. |
| Constructor Summary | |
|---|---|
AbleEventConnection(AbleBean source,
AbleEventListener target)
Create an event connection, so that any AbleEvent fired by the source AbleBean will be sent to any registered listeners. |
|
| Method Summary | |
|---|---|
AbleEventListener |
getListener()
Returns the listener registered to receive events. |
AbleBean |
getSource()
Returns the originator of events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected AbleBean eventSource
protected AbleEventListener listenerObj
| Constructor Detail |
public AbleEventConnection(AbleBean source,
AbleEventListener target)
source - The originator of the event.target - The listener to be notified of events.| Method Detail |
public AbleEventListener getListener()
public AbleBean getSource()
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||