freemarker.template
Class GenericEventMulticaster
java.lang.Object
|
+--freemarker.template.GenericEventMulticaster
- public class GenericEventMulticaster
- extends java.lang.Object
A generic event multicaster class. The client owns an
object of this class, and calls the fireEvent() method
to fire events.
Method Summary |
void |
addListener(java.util.EventListener listener)
|
void |
fireEvent(java.util.EventObject event,
ListenerAdapter adapter)
Fires an event to all the listeners of this multicaster,
using a ListenerAdapter. |
void |
removeListener(java.util.EventListener listener)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
GenericEventMulticaster
public GenericEventMulticaster()
addListener
public void addListener(java.util.EventListener listener)
removeListener
public void removeListener(java.util.EventListener listener)
fireEvent
public void fireEvent(java.util.EventObject event,
ListenerAdapter adapter)
- Fires an event to all the listeners of this multicaster,
using a ListenerAdapter.
- See Also:
ListenerAdapter