|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fishbolt.common.listener.ext.EventListener<S,T>
S - type of changed object.T - type that describes that changepublic abstract class EventListener<S,T>
An abstract class that gets a set
of events as parameters of the IEventListener.eventsPerformed(Collection)
method end sends every event as a parameter
to the eventPerformed(IEvent) method.
| Constructor Summary | |
|---|---|
EventListener()
|
|
| Method Summary | |
|---|---|
protected abstract void |
eventPerformed(IEvent<S,T> event)
Notifies about the change in system. |
void |
eventsPerformed(java.util.Collection<IEvent<S,T>> events)
After the change happened, the system generates the events and notifies the connected listeners calling the method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventListener()
| Method Detail |
|---|
public void eventsPerformed(java.util.Collection<IEvent<S,T>> events)
IEventListener
eventsPerformed in interface IEventListener<S,T>events - which describes changes in the system.IEventprotected abstract void eventPerformed(IEvent<S,T> event)
event - describes the change
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||