166 */ |
166 */ |
167 public void addClassesSummary(ClassDoc[] classes, String label, |
167 public void addClassesSummary(ClassDoc[] classes, String label, |
168 String tableSummary, String[] tableHeader, Content summaryContentTree) { |
168 String tableSummary, String[] tableHeader, Content summaryContentTree) { |
169 if(classes.length > 0) { |
169 if(classes.length > 0) { |
170 Arrays.sort(classes); |
170 Arrays.sort(classes); |
171 Content caption = getTableCaption(label); |
171 Content caption = getTableCaption(new RawHtml(label)); |
172 Content table = HtmlTree.TABLE(HtmlStyle.packageSummary, 0, 3, 0, |
172 Content table = HtmlTree.TABLE(HtmlStyle.packageSummary, 0, 3, 0, |
173 tableSummary, caption); |
173 tableSummary, caption); |
174 table.addContent(getSummaryTableHeader(tableHeader, "col")); |
174 table.addContent(getSummaryTableHeader(tableHeader, "col")); |
175 Content tbody = new HtmlTree(HtmlTag.TBODY); |
175 Content tbody = new HtmlTree(HtmlTag.TBODY); |
176 for (int i = 0; i < classes.length; i++) { |
176 for (int i = 0; i < classes.length; i++) { |