| Package | Description |
|---|---|
| com.sk89q.worldedit.util.eventbus |
| Modifier and Type | Class and Description |
|---|---|
class |
MethodEventHandler
Invokes a
Method to dispatch an event. |
| Modifier and Type | Method and Description |
|---|---|
protected Set<EventHandler> |
EventBus.newHandlerSet()
Creates a new Set for insertion into the handler map.
|
| Modifier and Type | Method and Description |
|---|---|
int |
EventHandler.compareTo(EventHandler o) |
protected void |
EventBus.dispatch(Object event,
EventHandler handler)
Dispatches
event to the handler in handler. |
void |
EventBus.subscribe(Class<?> clazz,
EventHandler handler)
Registers the given handler for the given class to receive events.
|
void |
EventBus.unsubscribe(Class<?> clazz,
EventHandler handler)
Unregisters the given handler for the given class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventBus.subscribeAll(com.google.common.collect.Multimap<Class<?>,EventHandler> handlers)
Registers the given handler for the given class to receive events.
|
void |
EventBus.unsubscribeAll(com.google.common.collect.Multimap<Class<?>,EventHandler> handlers)
Unregisters the given handlers.
|
Copyright © 2010-2014. All Rights Reserved.