Package diva.util
Class PropertyChangeMulticaster
- java.lang.Object
-
- diva.util.PropertyChangeMulticaster
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
public class PropertyChangeMulticaster extends java.lang.Object implements java.beans.PropertyChangeListener
A list of PropertyChangeListeners.- Version:
- $Id$
- Author:
- Michael Shilman
-
-
Constructor Summary
Constructors Constructor Description PropertyChangeMulticaster()
Create an empty multicaster object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.beans.PropertyChangeListener l)
Add the given listener to the list of listeners.void
dispatchEvent(java.beans.PropertyChangeEvent evt)
Dispatch the given event to all of the listeners.java.util.Iterator
listeners()
Return an iterator over the list of listeners.void
propertyChange(java.beans.PropertyChangeEvent evt)
void
remove(java.beans.PropertyChangeListener l)
Remove the given listener from the list of listeners.
-
-
-
Method Detail
-
add
public void add(java.beans.PropertyChangeListener l)
Add the given listener to the list of listeners.
-
listeners
public java.util.Iterator listeners()
Return an iterator over the list of listeners.
-
dispatchEvent
public void dispatchEvent(java.beans.PropertyChangeEvent evt)
Dispatch the given event to all of the listeners.
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
remove
public void remove(java.beans.PropertyChangeListener l)
Remove the given listener from the list of listeners.
-
-