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

changeset 1739
e6c5b5ee9fac
parent 1738
6ea964c78845
child 1740
ce4f0769b4b2
equal deleted inserted replaced
1738:6ea964c78845 1739:e6c5b5ee9fac
448 String title = configuration.getText("doclet.Window_ClassUse_Header", 448 String title = configuration.getText("doclet.Window_ClassUse_Header",
449 cltype, clname); 449 cltype, clname);
450 Content bodyTree = getBody(true, getWindowTitle(title)); 450 Content bodyTree = getBody(true, getWindowTitle(title));
451 addTop(bodyTree); 451 addTop(bodyTree);
452 addNavLinks(true, bodyTree); 452 addNavLinks(true, bodyTree);
453 Content headContent = getResource("doclet.ClassUse_Title", cltype, clname); 453 ContentBuilder headContent = new ContentBuilder();
454 headContent.addContent(getResource("doclet.ClassUse_Title", cltype));
455 headContent.addContent(new HtmlTree(HtmlTag.BR));
456 headContent.addContent(clname);
454 Content heading = HtmlTree.HEADING(HtmlConstants.CLASS_PAGE_HEADING, 457 Content heading = HtmlTree.HEADING(HtmlConstants.CLASS_PAGE_HEADING,
455 true, HtmlStyle.title, headContent); 458 true, HtmlStyle.title, headContent);
456 Content div = HtmlTree.DIV(HtmlStyle.header, heading); 459 Content div = HtmlTree.DIV(HtmlStyle.header, heading);
457 bodyTree.addContent(div); 460 bodyTree.addContent(div);
458 return bodyTree; 461 return bodyTree;

mercurial