Package org.apache.bsf.util.event

# Interface EventAdapter

All Known Implementing Classes:
  `EventAdapterImpl`, `java_awt_event_ActionAdapter`, `java_awt_event_AdjustmentAdapter`, `java_awt_event_ComponentAdapter`, `java_awt_event_ContainerAdapter`, `java_awt_event_FocusAdapter`, `java_awt_event_ItemAdapter`, `java_awt_event_KeyAdapter`, `java_awt_event_MouseAdapter`, `java_awt_event_MouseMotionAdapter`, `java_awt_event_TextAdapter`, `java_awt_event_WindowAdapter`, `java_beans_PropertyChangeAdapter`, `java_beans_VetoableChangeAdapter`

public interface EventAdapter
EventAdapter is the interface that all event adapters must implement in order to work with the automatic event adapter generation model. This interface requires that the adapter implement a method that allows setting the event processor delegated to process the event after the adapter has received the event from the event source. The task of any event adapter is to receive the event and then delegate it to the event processor assigned to it, using either eventProcessor.processEvent or eventProcessor.processExceptionableEvent.

Author:
  Sanjiva Weerawarana, Matthew J. Duftler
See Also:
  - `EventProcessor`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `setEventProcessor(EventProcessor eventProcessor)`

- ## Method Details

  - ### setEventProcessor

    void setEventProcessor(EventProcessor eventProcessor)