149 * Add the list of packages that use the given package. |
149 * Add the list of packages that use the given package. |
150 * |
150 * |
151 * @param contentTree the content tree to which the package list will be added |
151 * @param contentTree the content tree to which the package list will be added |
152 */ |
152 */ |
153 protected void addPackageList(Content contentTree) throws IOException { |
153 protected void addPackageList(Content contentTree) throws IOException { |
154 Content table = HtmlTree.TABLE(0, 3, 0, useTableSummary, |
154 Content table = HtmlTree.TABLE(HtmlStyle.useSummary, 0, 3, 0, useTableSummary, |
155 getTableCaption(configuration.getResource( |
155 getTableCaption(configuration.getResource( |
156 "doclet.ClassUse_Packages.that.use.0", |
156 "doclet.ClassUse_Packages.that.use.0", |
157 getPackageLink(pkgdoc, Util.getPackageName(pkgdoc))))); |
157 getPackageLink(pkgdoc, Util.getPackageName(pkgdoc))))); |
158 table.addContent(getSummaryTableHeader(packageTableHeader, "col")); |
158 table.addContent(getSummaryTableHeader(packageTableHeader, "col")); |
159 Content tbody = new HtmlTree(HtmlTag.TBODY); |
159 Content tbody = new HtmlTree(HtmlTag.TBODY); |
194 if (usingPackage != null) { |
194 if (usingPackage != null) { |
195 li.addContent(getMarkerAnchor(usingPackage.name())); |
195 li.addContent(getMarkerAnchor(usingPackage.name())); |
196 } |
196 } |
197 String tableSummary = configuration.getText("doclet.Use_Table_Summary", |
197 String tableSummary = configuration.getText("doclet.Use_Table_Summary", |
198 configuration.getText("doclet.classes")); |
198 configuration.getText("doclet.classes")); |
199 Content table = HtmlTree.TABLE(0, 3, 0, tableSummary, |
199 Content table = HtmlTree.TABLE(HtmlStyle.useSummary, 0, 3, 0, tableSummary, |
200 getTableCaption(configuration.getResource( |
200 getTableCaption(configuration.getResource( |
201 "doclet.ClassUse_Classes.in.0.used.by.1", |
201 "doclet.ClassUse_Classes.in.0.used.by.1", |
202 getPackageLink(pkgdoc, Util.getPackageName(pkgdoc)), |
202 getPackageLink(pkgdoc, Util.getPackageName(pkgdoc)), |
203 getPackageLink(usingPackage, Util.getPackageName(usingPackage))))); |
203 getPackageLink(usingPackage, Util.getPackageName(usingPackage))))); |
204 table.addContent(getSummaryTableHeader(classTableHeader, "col")); |
204 table.addContent(getSummaryTableHeader(classTableHeader, "col")); |