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

changeset 2084
6e186ca11ec0
parent 1985
0e6577980181
child 2525
2eb010b6cb22
equal deleted inserted replaced
2083:379c04c090cf 2084:6e186ca11ec0
261 * Add the packages list that use the given class. 261 * Add the packages list that use the given class.
262 * 262 *
263 * @param contentTree the content tree to which the packages list will be added 263 * @param contentTree the content tree to which the packages list will be added
264 */ 264 */
265 protected void addPackageList(Content contentTree) throws IOException { 265 protected void addPackageList(Content contentTree) throws IOException {
266 Content table = HtmlTree.TABLE(0, 3, 0, useTableSummary, 266 Content table = HtmlTree.TABLE(HtmlStyle.useSummary, 0, 3, 0, useTableSummary,
267 getTableCaption(configuration.getResource( 267 getTableCaption(configuration.getResource(
268 "doclet.ClassUse_Packages.that.use.0", 268 "doclet.ClassUse_Packages.that.use.0",
269 getLink(new LinkInfoImpl(configuration, LinkInfoImpl.Kind.CLASS_USE_HEADER, classdoc 269 getLink(new LinkInfoImpl(configuration, LinkInfoImpl.Kind.CLASS_USE_HEADER, classdoc
270 ))))); 270 )))));
271 table.addContent(getSummaryTableHeader(packageTableHeader, "col")); 271 table.addContent(getSummaryTableHeader(packageTableHeader, "col"));
296 if ((!classdoc.isAnnotationType()) || 296 if ((!classdoc.isAnnotationType()) ||
297 pkgToPackageAnnotations == null || 297 pkgToPackageAnnotations == null ||
298 pkgToPackageAnnotations.isEmpty()) { 298 pkgToPackageAnnotations.isEmpty()) {
299 return; 299 return;
300 } 300 }
301 Content table = HtmlTree.TABLE(0, 3, 0, useTableSummary, 301 Content table = HtmlTree.TABLE(HtmlStyle.useSummary, 0, 3, 0, useTableSummary,
302 getTableCaption(configuration.getResource( 302 getTableCaption(configuration.getResource(
303 "doclet.ClassUse_PackageAnnotation", 303 "doclet.ClassUse_PackageAnnotation",
304 getLink(new LinkInfoImpl(configuration, 304 getLink(new LinkInfoImpl(configuration,
305 LinkInfoImpl.Kind.CLASS_USE_HEADER, classdoc))))); 305 LinkInfoImpl.Kind.CLASS_USE_HEADER, classdoc)))));
306 table.addContent(getSummaryTableHeader(packageTableHeader, "col")); 306 table.addContent(getSummaryTableHeader(packageTableHeader, "col"));

mercurial