org.jwalk
Interface ReportListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- Console, ReportPublisher
public interface ReportListener
- extends java.util.EventListener
ReportListener is the listener interface for receiving report events.
Client programs should register an object implementing this interface
with JWalker's Channels API. The registered object must implement the
single publish() method declared below. This will cause the object to
display the contents of a report to the user.
- Version:
- 1.0
- Author:
- Anthony Simons
publish
void publish(ReportEvent event)
- Publishes a ReportEvent. Typically, implementors should extract the
Report from the event and display the contents of the Report in some
suitable fashion, such as in a window or collection of views.
- Parameters:
event
- the ReportEvent being dispatched to this listener.