|
Clearspace API (1.10.16) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.base.event.JivePropertyEventDispatcher
public class JivePropertyEventDispatcher
Dispatcher for jive property events.
| Method Summary | |
|---|---|
void |
addListener(JivePropertyListener listener)
Registers a listener with this event dispatcher |
static void |
destroy()
Destroy dispatcher. |
void |
dispatchEvent(JivePropertyEvent event)
Dispatches a new JivePropertyEvent to all of the JivePropertyListener listeners
that are registered with this event dispatcher. |
static JivePropertyEventDispatcher |
getInstance()
Returns an instance of JivePropertyEventDispatcher |
void |
removeAllListeners()
Unregisters all listeners |
void |
removeListener(JivePropertyListener listener)
Unregisters a listener from this event dispatcher. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JivePropertyEventDispatcher getInstance()
public void addListener(JivePropertyListener listener)
listener - listener to registerpublic void removeAllListeners()
public void removeListener(JivePropertyListener listener)
listener - listener to removepublic static void destroy()
public void dispatchEvent(JivePropertyEvent event)
JivePropertyEvent to all of the JivePropertyListener listeners
that are registered with this event dispatcher.
event - event to fire
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||