< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleIndexFrameWriter.java

Print this page

        

*** 112,124 **** Content li = HtmlTree.LI(moduleLinkContent); return li; } private Content getModuleFramesHyperLink(ModuleElement mdle, Content label, String target) { ! DocLink mdlLink = new DocLink(DocPaths.moduleFrame(mdle)); ! DocLink mtFrameLink = new DocLink(DocPaths.moduleTypeFrame(mdle)); ! DocLink cFrameLink = new DocLink(DocPaths.moduleSummary(mdle)); HtmlTree anchor = HtmlTree.A(mdlLink.toString(), label); String onclickStr = "updateModuleFrame('" + mtFrameLink + "','" + cFrameLink + "');"; anchor.addAttr(HtmlAttr.TARGET, target); anchor.addAttr(HtmlAttr.ONCLICK, onclickStr); return anchor; --- 112,124 ---- Content li = HtmlTree.LI(moduleLinkContent); return li; } private Content getModuleFramesHyperLink(ModuleElement mdle, Content label, String target) { ! DocLink mdlLink = new DocLink(docPaths.moduleFrame(mdle)); ! DocLink mtFrameLink = new DocLink(docPaths.moduleTypeFrame(mdle)); ! DocLink cFrameLink = new DocLink(docPaths.moduleSummary(mdle)); HtmlTree anchor = HtmlTree.A(mdlLink.toString(), label); String onclickStr = "updateModuleFrame('" + mtFrameLink + "','" + cFrameLink + "');"; anchor.addAttr(HtmlAttr.TARGET, target); anchor.addAttr(HtmlAttr.ONCLICK, onclickStr); return anchor;
< prev index next >