Class Listeners


  • public class Listeners
    extends java.lang.Object
    Static registration and notification for listeners.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <E> void notifyAll​(E event)  
      static <E> void register​(Listener<E> listener, java.lang.Class<E> eventType)  
      • Methods inherited from class java.lang.Object

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

      • register

        public static <E> void register​(Listener<E> listener,
                                        java.lang.Class<E> eventType)
      • notifyAll

        public static <E> void notifyAll​(E event)