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

changeset 2101
933ba3f81a87
parent 2023
cf37c3775397
child 2525
2eb010b6cb22
equal deleted inserted replaced
2100:1e7ad879f15e 2101:933ba3f81a87
201 addSummaryComment(root, subTitleDiv); 201 addSummaryComment(root, subTitleDiv);
202 Content div = HtmlTree.DIV(HtmlStyle.header, subTitleDiv); 202 Content div = HtmlTree.DIV(HtmlStyle.header, subTitleDiv);
203 Content see = seeLabel; 203 Content see = seeLabel;
204 see.addContent(" "); 204 see.addContent(" ");
205 Content descPara = HtmlTree.P(see); 205 Content descPara = HtmlTree.P(see);
206 Content descLink = getHyperLink(DocLink.fragment("overview_description"), 206 Content descLink = getHyperLink(getDocLink(
207 descriptionLabel, "", ""); 207 SectionName.OVERVIEW_DESCRIPTION),
208 descriptionLabel, "", "");
208 descPara.addContent(descLink); 209 descPara.addContent(descLink);
209 div.addContent(descPara); 210 div.addContent(descPara);
210 body.addContent(div); 211 body.addContent(div);
211 } 212 }
212 } 213 }
218 * @param htmltree the documentation tree to which the overview comment will 219 * @param htmltree the documentation tree to which the overview comment will
219 * be added 220 * be added
220 */ 221 */
221 protected void addOverviewComment(Content htmltree) { 222 protected void addOverviewComment(Content htmltree) {
222 if (root.inlineTags().length > 0) { 223 if (root.inlineTags().length > 0) {
223 htmltree.addContent(getMarkerAnchor("overview_description")); 224 htmltree.addContent(
225 getMarkerAnchor(SectionName.OVERVIEW_DESCRIPTION));
224 addInlineComment(root, htmltree); 226 addInlineComment(root, htmltree);
225 } 227 }
226 } 228 }
227 229
228 /** 230 /**

mercurial