U
- The type of EventListener subclass
public interface NFEEventDispatcher<U extends java.util.EventListener>
Modifier and Type | Method and Description |
---|---|
void |
dispatch(NFEModelEvent event, java.util.Collection<U> listeners, java.lang.String listenerMethodName)
Notifies about an event to a collection of listeners by invoking the given method name.
|
boolean |
isStopDispatchingAtFirstError()
Tells whether the dispatcher stops firing events when an error ocurrs
|
void |
setStopDispatchingAtFirstError(boolean stopDispatchingAtFirstError)
Sets the dispatcher to stop firing events if there is an error.
|
void dispatch(NFEModelEvent event, java.util.Collection<U> listeners, java.lang.String listenerMethodName) throws NFEEventDispatchException
event
- an NFEModelEvent (or subclass) instancelisteners
- a collection of listeners to be notifiedlistenerMethodName
- the method name to be invoked on the listenersNFEEventDispatchException
void setStopDispatchingAtFirstError(boolean stopDispatchingAtFirstError)
stopDispatchingAtFirstError
-boolean isStopDispatchingAtFirstError()