Modifier and Type | Field and Description |
---|---|
private static Map<String,DMXEvent> |
events
A map of all known events (contains core events as well as plugin events).
|
private Class |
listenerInterface
The corresponding listener interface for this event.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
dispatch(EventListener listener,
Object... params)
Delivers this event to the given listener.
|
static DMXEvent |
getEvent(Class listenerInterface)
Returns the event that corresponds to the given listener interface.
|
Class |
getListenerInterface()
Returns the corresponding listener interface for this event.
|
private void |
putEvent(DMXEvent event,
Class listenerInterface) |
private static Map<String,DMXEvent> events
private final Class listenerInterface
public abstract void dispatch(EventListener listener, Object... params)
public Class getListenerInterface()
public static DMXEvent getEvent(Class listenerInterface)
Copyright © 2018. All Rights Reserved.