Package | Description |
---|---|
org.scijava.event |
Modifier and Type | Method and Description |
---|---|
<E extends SciJavaEvent> |
EventService.getSubscribers(Class<E> c)
Gets a list of all subscribers to the given event class (and subclasses
thereof).
|
<E extends SciJavaEvent> |
DefaultEventService.getSubscribers(Class<E> c) |
List<EventSubscriber<?>> |
EventService.subscribe(Object o)
Subscribes all of the given object's @
EventHandler annotated
methods. |
List<EventSubscriber<?>> |
DefaultEventService.subscribe(Object o) |
Modifier and Type | Method and Description |
---|---|
void |
EventService.unsubscribe(Collection<EventSubscriber<?>> subscribers)
Removes all the given subscribers; they will no longer be notified when
events are published.
|
void |
DefaultEventService.unsubscribe(Collection<EventSubscriber<?>> subscribers) |
Copyright © 2015–2022 SciJava. All rights reserved.