01: package org.netbeans.modules.reportgenerator.api;
02:
03: import java.util.List;
04:
05: /**
06: * ReportSection represents a section in the report.
07: * A ReportSection consists of ReportElements.
08: * @author radval
09: *
10: */
11: public interface ReportSection extends ReportElement {
12:
13: /**
14: * Add a ReportElement
15: * @param element
16: */
17: void addReportElement(ReportElement element);
18:
19: /**
20: * remove a ReportElement
21: * @param element
22: */
23: void removeReportElement(ReportElement element);
24:
25: /**
26: * Get a list of ReportElements.
27: * @return
28: */
29: List<ReportElement> getReportElements();
30:
31: }
|