Package wt.events
Interface KeyedEventListener
- All Known Implementing Classes:
ChangeStatusEventHandler,DefaultPendingChangeEventHandler,DefaultResultingChangeEventHandler,KeyedEventListenerAdapter,PendingChangeEventHandler,ResultingChangeEventHandler,ServiceEventListenerAdapter
public interface KeyedEventListener
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyEvent(Object eventObject) Notify the listener that a single-object event has occurred.voidnotifyMultiObjectEvent(Object eventObject) Notify the listener that a multi-object event has occurred.voidnotifyVetoableEvent(Object eventObject) Notify the listener that a single-object event has occurred.voidnotifyVetoableMultiObjectEvent(Object eventObject) Notify the listener that a multi-object event has occurred.
-
Method Details
-
notifyEvent
Notify the listener that a single-object event has occurred.
Supported API: true- Parameters:
eventObject-
-
notifyVetoableEvent
Notify the listener that a single-object event has occurred. Sometimes the listener may object to the event by throwing an exception. Whether the exception will be honored depends on the object which generated the event.
Supported API: true- Parameters:
eventObject-- Throws:
Exception- the dispatcher and listener must agree on the exception type.
-
notifyMultiObjectEvent
Notify the listener that a multi-object event has occurred.
Supported API: true- Parameters:
eventObject-
-
notifyVetoableMultiObjectEvent
Notify the listener that a multi-object event has occurred. Sometimes the listener may object to the event by throwing an exception. Whether the exception will be honored depends on the object which generated the event.
Supported API: true- Parameters:
eventObject-- Throws:
Exception- the dispatcher and listener must agree on the exception type.
-