sos.reports
Interface ReportEvent

All Known Implementing Classes:
DefaultReportEvent

public interface ReportEvent

An indication that a report has changed. This event class is intended to be generic enough to handle any type of change.

Since:
1.0
See Also:
ReportListener

Nested Class Summary
static interface ReportEvent.ElementChange
          The details of how a report element changed.
 
Method Summary
 ReportEvent.ElementChange getChange(Element element)
          Returns the details of how the specified element changed.
 Report getReport()
          Returns the report to which this event applies.
 java.util.Set getSourceElements()
          Returns the set of report elements for which this event applies.
 

Method Detail

getReport

public Report getReport()
Returns the report to which this event applies.

Returns:
the report that changed

getSourceElements

public java.util.Set getSourceElements()
Returns the set of report elements for which this event applies.

Returns:
the set of report elements for which this event applies

getChange

public ReportEvent.ElementChange getChange(Element element)
Returns the details of how the specified element changed.

Parameters:
element - element for which to fetch the change
Returns:
the details of how the specified element changed


Copyright 2003, 2004 Side of Software (SOS). All rights reserved.