| org.blojsom.event.EventBroadcaster
All known Subclasses: org.blojsom.event.SimpleEventBroadcaster,
EventBroadcaster | public interface EventBroadcaster (Code) | | EventBroadcaster
author: David Czarnecki since: blojsom 3.0 version: $Id: EventBroadcaster.java,v 1.2 2007/01/17 02:35:17 czarneckid Exp $ |
addListener | public void addListener(Listener listener)(Code) | | Add a event to this event broadcaster
Parameters: listener - Listener |
addListener | public void addListener(Listener listener, Filter filter)(Code) | | Add a event to this event broadcaster. Events are filtered using the
Filter instance
passed to this method.
Parameters: listener - Listener Parameters: filter - Filter used to filter events |
broadcastEvent | public void broadcastEvent(Event event)(Code) | | Broadcast an event to all listeners
Parameters: event - org.blojsom.event.Event to be broadcast to all listeners |
processEvent | public void processEvent(Event event)(Code) | | Process an event with all listeners
Parameters: event - Event to be processed by all listeners |
removeListener | public void removeListener(Listener listener)(Code) | | Remove a event from this event broadcaster
Parameters: listener - Listener |
|
|