Package wt.events

Interface KeyedEventListener

All Known Implementing Classes:
ChangeStatusEventHandler, DefaultPendingChangeEventHandler, DefaultResultingChangeEventHandler, KeyedEventListenerAdapter, PendingChangeEventHandler, ResultingChangeEventHandler, ServiceEventListenerAdapter

public interface KeyedEventListener


Supported API: true

Extendable: true
See Also:
  • Method Details

    • notifyEvent

      void notifyEvent(Object eventObject)
      Notify the listener that a single-object event has occurred.

      Supported API: true
      Parameters:
      eventObject -
    • notifyVetoableEvent

      void notifyVetoableEvent(Object eventObject) throws Exception
      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

      void notifyMultiObjectEvent(Object eventObject)
      Notify the listener that a multi-object event has occurred.

      Supported API: true
      Parameters:
      eventObject -
    • notifyVetoableMultiObjectEvent

      void notifyVetoableMultiObjectEvent(Object eventObject) throws Exception
      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.