public class EventManager extends Object implements EventSource
Constructor and Description |
---|
EventManager(Object source) |
Modifier and Type | Method and Description |
---|---|
void |
fireEvent(Event fireEvent) |
<T extends Event> |
registerEventHandler(EventType<T> type,
EventHandler<? super T> eventHandler) |
<T extends Event> |
unregisterEventHandler(EventType<T> type,
EventHandler<? super T> eventHandler) |
public EventManager(Object source)
public <T extends Event> void registerEventHandler(EventType<T> type, EventHandler<? super T> eventHandler)
registerEventHandler
in interface EventSource
public <T extends Event> void unregisterEventHandler(EventType<T> type, EventHandler<? super T> eventHandler)
unregisterEventHandler
in interface EventSource
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.