Package diva.util

Class 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
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertyChangeMulticaster

        public PropertyChangeMulticaster()
        Create an empty multicaster object.
    • 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 interface java.beans.PropertyChangeListener
      • remove

        public void remove​(java.beans.PropertyChangeListener l)
        Remove the given listener from the list of listeners.