Package org.apache.fop.events
Interface EventListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
CompositeEventListener
,FOPEventListenerProxy
,LoggingEventListener
This interface is implemented by clients who want to listen for events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processEvent
(Event event) This method is called for each event that is generated.
-
Method Details
-
processEvent
This method is called for each event that is generated. With the event's ID it is possible to react to certain events. Events can also simply be recorded and presented to a user. It is possible to throw an (unchecked) exception if the processing needs to be aborted because some special event occurred. This way the client can configure the behaviour of the observed application.- Parameters:
event
- the event
-