E
- Type of event for which to listenpublic interface EventSubscriber<E extends SciJavaEvent>
extends org.bushe.swing.event.EventSubscriber<E>
There is no defined order to the notifications. This is an intentional limitation, to keep the event subsystem from growing too complex. We have found that when event handlers need to make assumptions about the order events are delivered, there is generally something wrong with the event delivery pattern in question. A better solution is to fire more granular types of events at multiple stages of the program's workflow.
Modifier and Type | Method and Description |
---|---|
Class<E> |
getEventClass() |
void |
onEvent(E event) |
void onEvent(E event)
onEvent
in interface org.bushe.swing.event.EventSubscriber<E extends SciJavaEvent>
Copyright © 2015–2022 SciJava. All rights reserved.