|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
|---|---|
| IEvent<S,T> | An event in the system is described using the parameterized interface. |
| IEventListener<S,T> | As stated above, the system has to provide possibility to connect event listeners. |
The listener pattern means a mechanism of notification about changes in the system. There are two its important components – event and event listener. An event is a unit of change or, in other words, it describes the change. An event listener is being notified about changes receiving information as a set of events that have taken place.
As is well known, Java has the corresponding mechanism for
notification about events (See the java.awt.Event and
java.util.EventListener classes). Our version does
not essentially differ from the Java event model, besides it
is abstracted from the AWT library and uses the latest Java possibilities.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||