Class EventDispatcher<T>

java.lang.Object
toxi.util.events.EventDispatcher<T>
All Implemented Interfaces:
Iterable<T>

public class EventDispatcher<T> extends Object implements Iterable<T>
  • Constructor Details

    • EventDispatcher

      public EventDispatcher()
  • Method Details

    • addListener

      public void addListener(T listener)
    • getListeners

      public List<T> getListeners()
    • iterator

      public Iterator<T> iterator()
      Specified by:
      iterator in interface Iterable<T>
    • removeListener

      public void removeListener(T listener)