sos.reports
Interface ReportEditorModel

All Known Implementing Classes:
AbstractReportEditorModel, DefaultReportEditorModel, TemplateReportEditorModel, TierReportEditorModel

public interface ReportEditorModel

The interface to editing report elements.

Since:
1.0
See Also:
JReportPane.getEditorModel(), JReportPane.setEditorModel(sos.reports.ReportEditorModel)

Method Summary
 ElementEditor getEditor(Element element)
          Returns the editor that can edit the specified element, or null, if the element cannot be edited.
 void reportChanged(ReportEvent event)
          Updates itself (if necessary) as a result of a report modification.
 

Method Detail

getEditor

public ElementEditor getEditor(Element element)
Returns the editor that can edit the specified element, or null, if the element cannot be edited.

Parameters:
element - report element to be edited
Returns:
an editor to edit element, or null
Throws:
java.lang.NullPointerException - if element is null

reportChanged

public void reportChanged(ReportEvent event)
Updates itself (if necessary) as a result of a report modification.

Parameters:
event - the event describing how the report has changed


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