|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
BlojsomEventBroadcaster
Method Summary | |
void |
addListener(BlojsomListener listener)
Add a event to this event broadcaster |
void |
addListener(BlojsomListener listener,
BlojsomFilter filter)
Add a event to this event broadcaster. |
void |
broadcastEvent(BlojsomEvent event)
Broadcast an event to all listeners |
void |
processEvent(BlojsomEvent event)
Process an event with all listeners |
void |
removeListener(BlojsomListener listener)
Remove a event from this event broadcaster |
Method Detail |
public void addListener(BlojsomListener listener)
listener
- BlojsomListener
public void addListener(BlojsomListener listener, BlojsomFilter filter)
BlojsomFilter
instance
passed to this method.
listener
- BlojsomListener
filter
- BlojsomFilter
used to filter eventspublic void removeListener(BlojsomListener listener)
listener
- BlojsomListener
public void broadcastEvent(BlojsomEvent event)
event
- BlojsomEvent
to be broadcast to all listenerspublic void processEvent(BlojsomEvent event)
event
- BlojsomEvent
to be processed by all listeners
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |