|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.base.event.PollEventDispatcher
public class PollEventDispatcher
Poll event dispatcher.
Method Summary | |
---|---|
void |
addListener(PollListener listener)
Adds an event listener to the dispatcher. |
void |
dispatchEvent(PollEvent event)
Dispatches an event to all listeners. |
static PollEventDispatcher |
getInstance()
Returns an event dispatcher instance. |
void |
removeListener(PollListener listener)
Removes an event listener from the dispatcher. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PollEventDispatcher getInstance()
public void addListener(PollListener listener)
listener
- the listener.public void removeListener(PollListener listener)
listener
- the listener.public void dispatchEvent(PollEvent event)
event
- the event.
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |