langtools/src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java
equal
deleted
inserted
replaced
235 * be added |
235 * be added |
236 */ |
236 */ |
237 protected void addOverviewComment(Content htmltree) { |
237 protected void addOverviewComment(Content htmltree) { |
238 if (root.inlineTags().length > 0) { |
238 if (root.inlineTags().length > 0) { |
239 htmltree.addContent(getMarkerAnchor("overview_description")); |
239 htmltree.addContent(getMarkerAnchor("overview_description")); |
240 HtmlTree div = new HtmlTree(HtmlTag.DIV); |
240 addInlineComment(root, htmltree); |
241 div.addStyle(HtmlStyle.subTitle); |
|
242 addInlineComment(root, div); |
|
243 htmltree.addContent(div); |
|
244 } |
241 } |
245 } |
242 } |
246 |
243 |
247 /** |
244 /** |
248 * Adds the tag information as provided in the file specified by the |
245 * Adds the tag information as provided in the file specified by the |
250 * |
247 * |
251 * @param body the documentation tree to which the overview will be added |
248 * @param body the documentation tree to which the overview will be added |
252 */ |
249 */ |
253 protected void addOverview(Content body) throws IOException { |
250 protected void addOverview(Content body) throws IOException { |
254 HtmlTree div = new HtmlTree(HtmlTag.DIV); |
251 HtmlTree div = new HtmlTree(HtmlTag.DIV); |
255 div.addStyle(HtmlStyle.footer); |
252 div.addStyle(HtmlStyle.contentContainer); |
256 addOverviewComment(div); |
253 addOverviewComment(div); |
257 addTagsInfo(root, div); |
254 addTagsInfo(root, div); |
258 body.addContent(div); |
255 body.addContent(div); |
259 } |
256 } |
260 |
257 |