src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java

changeset 1747
df4f44800923
parent 1571
af8417e590f4
child 1952
3d4f0fa2ad05
equal deleted inserted replaced
1746:bd51ca92c013 1747:df4f44800923
121 } 121 }
122 122
123 /** 123 /**
124 * {@inheritDoc} 124 * {@inheritDoc}
125 */ 125 */
126 protected void addProfilesList(String profileSummary, String profilesTableSummary, 126 protected void addProfilesList(Content profileSummary, String profilesTableSummary,
127 Content body) { 127 Content body) {
128 Content table = HtmlTree.TABLE(HtmlStyle.overviewSummary, 0, 3, 0, profilesTableSummary, 128 Content table = HtmlTree.TABLE(HtmlStyle.overviewSummary, 0, 3, 0, profilesTableSummary,
129 getTableCaption(profileSummary)); 129 getTableCaption(profileSummary));
130 table.addContent(getSummaryTableHeader(profileTableHeader, "col")); 130 table.addContent(getSummaryTableHeader(profileTableHeader, "col"));
131 Content tbody = new HtmlTree(HtmlTag.TBODY); 131 Content tbody = new HtmlTree(HtmlTag.TBODY);
139 * {@inheritDoc} 139 * {@inheritDoc}
140 */ 140 */
141 protected void addPackagesList(PackageDoc[] packages, String text, 141 protected void addPackagesList(PackageDoc[] packages, String text,
142 String tableSummary, Content body) { 142 String tableSummary, Content body) {
143 Content table = HtmlTree.TABLE(HtmlStyle.overviewSummary, 0, 3, 0, tableSummary, 143 Content table = HtmlTree.TABLE(HtmlStyle.overviewSummary, 0, 3, 0, tableSummary,
144 getTableCaption(text)); 144 getTableCaption(new RawHtml(text)));
145 table.addContent(getSummaryTableHeader(packageTableHeader, "col")); 145 table.addContent(getSummaryTableHeader(packageTableHeader, "col"));
146 Content tbody = new HtmlTree(HtmlTag.TBODY); 146 Content tbody = new HtmlTree(HtmlTag.TBODY);
147 addPackagesList(packages, tbody); 147 addPackagesList(packages, tbody);
148 table.addContent(tbody); 148 table.addContent(tbody);
149 Content div = HtmlTree.DIV(HtmlStyle.contentContainer, table); 149 Content div = HtmlTree.DIV(HtmlStyle.contentContainer, table);

mercurial