Class EventManager


public class EventManager extends ListenerManager
EventManager make the gesture between Listener and Event. The EventManager instance is accessible from the EventContainer.
  • Constructor Details

    • EventManager

      public EventManager()
  • Method Details

    • emitEvent

      public void emitEvent(Module module, Event event)
      Emit a event and log potential error in the Logger.
      Parameters:
      module - The emitter module.
      event - The emitted event.
    • registerItem

      public boolean registerItem(Module module, Listener... items)
      Overrides:
      registerItem in class Manager<Listener>