|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.api.event.EventDispatcher
public abstract class EventDispatcher
Responsible for dispatching events to registered listeners.
Constructor Summary | |
---|---|
EventDispatcher()
|
Method Summary | |
---|---|
abstract void |
fireBlogEntryEvent(BlogEntryEvent event)
Fires a blog entry event to registered listeners. |
abstract void |
fireBlogEvent(BlogEvent event)
Fires a blog event to registered listeners. |
abstract void |
fireCommentEvent(CommentEvent event)
Fires a comment event to registered listeners. |
void |
fireEvents(BlogEntry blogEntry)
Fires all outstanding events on a given blog entry. |
abstract void |
fireTrackBackEvent(TrackBackEvent event)
Fires a TrackBack event to registered listeners. |
EventListenerList |
getEventListenerList()
Gets the event listener list. |
void |
setEventListenerList(EventListenerList eventListenerList)
Sets the event listener list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventDispatcher()
Method Detail |
---|
public EventListenerList getEventListenerList()
public void setEventListenerList(EventListenerList eventListenerList)
eventListenerList
- an EventListenerList objectpublic void fireEvents(BlogEntry blogEntry)
blogEntry
- the blog entry to fire events onpublic abstract void fireBlogEvent(BlogEvent event)
event
- the BlogEvent instancepublic abstract void fireBlogEntryEvent(BlogEntryEvent event)
event
- the BlogEntryEvent instancepublic abstract void fireCommentEvent(CommentEvent event)
event
- the CommentEvent instancepublic abstract void fireTrackBackEvent(TrackBackEvent event)
event
- the TrackBackEvent instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |