![]() | [using it] | Interface Manipulation Package v4.0 (2008-06-25) | ![]() | ©copyright | ![]() |
java.lang.Objectimp.util.Event.AbstractSender<T>
public static class Event.AbstractSender<T>
Implements an event sender.
Constructor Summary | |
---|---|
Event.AbstractSender()
|
Method Summary | |
---|---|
void |
addListener(Event.Listener<T> listener)
Adds a sampler listener. |
void |
eventSent(T event)
Called by the sender, when an event is sent. |
void |
removeListener(Event.Listener<T> listener)
Removes a sampler listener. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Event.AbstractSender()
Method Detail |
---|
public void addListener(Event.Listener<T> listener)
Event.Sender
addListener
in interface Event.Sender<T>
public void eventSent(T event)
Event.Sender
eventSent
in interface Event.Sender<T>
public void removeListener(Event.Listener<T> listener)
Event.Sender
removeListener
in interface Event.Sender<T>