Module utilities

Class EventListener.Multicaster

java.lang.Object
de.grogra.util.EventListener.Multicaster
All Implemented Interfaces:
EventListener, EventListener
Enclosing interface:
EventListener

public static class EventListener.Multicaster extends Object implements EventListener
  • Constructor Details

    • Multicaster

      public Multicaster()
  • Method Details

    • addEventListener

      public final void addEventListener(EventListener l)
    • removeEventListener

      public final void removeEventListener(EventListener l)
    • removeAllListeners

      public final void removeAllListeners()
    • eventOccured

      public void eventOccured(EventObject event)
      Description copied from interface: EventListener
      This method is invoked on registered event listeners when event has occured. This general listener interface does not restrict the possible kinds of events. Concrete sources of events should specify which events they may fire.
      Specified by:
      eventOccured in interface EventListener
      Parameters:
      event - an event