Class EventDispatcher<EventKeyType, EventMessageType>
Handles notifying listeners of events.
EventKeyType is used to distinguish events (e.g. a ClickEvent vs a TouchEvent)
while EventMessageType is the type of the data sent with an event (can be void).
Handles notifying listeners of events.
EventKeyTypeis used to distinguish events (e.g. aClickEventvs aTouchEvent) whileEventMessageTypeis the type of the data sent with an event (can bevoid).Example