src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleIndexFrameWriter.java
changeset 48759 ffa68af7da87
parent 48654 36f58bd6269f
child 49569 d4d2f634b72f
equal deleted inserted replaced
48758:ba19a21d727d 48759:ffa68af7da87
   112         Content li = HtmlTree.LI(moduleLinkContent);
   112         Content li = HtmlTree.LI(moduleLinkContent);
   113         return li;
   113         return li;
   114     }
   114     }
   115 
   115 
   116     private Content getModuleFramesHyperLink(ModuleElement mdle, Content label, String target) {
   116     private Content getModuleFramesHyperLink(ModuleElement mdle, Content label, String target) {
   117         DocLink mdlLink = new DocLink(DocPaths.moduleFrame(mdle));
   117         DocLink mdlLink = new DocLink(docPaths.moduleFrame(mdle));
   118         DocLink mtFrameLink = new DocLink(DocPaths.moduleTypeFrame(mdle));
   118         DocLink mtFrameLink = new DocLink(docPaths.moduleTypeFrame(mdle));
   119         DocLink cFrameLink = new DocLink(DocPaths.moduleSummary(mdle));
   119         DocLink cFrameLink = new DocLink(docPaths.moduleSummary(mdle));
   120         HtmlTree anchor = HtmlTree.A(mdlLink.toString(), label);
   120         HtmlTree anchor = HtmlTree.A(mdlLink.toString(), label);
   121         String onclickStr = "updateModuleFrame('" + mtFrameLink + "','" + cFrameLink + "');";
   121         String onclickStr = "updateModuleFrame('" + mtFrameLink + "','" + cFrameLink + "');";
   122         anchor.addAttr(HtmlAttr.TARGET, target);
   122         anchor.addAttr(HtmlAttr.TARGET, target);
   123         anchor.addAttr(HtmlAttr.ONCLICK, onclickStr);
   123         anchor.addAttr(HtmlAttr.ONCLICK, onclickStr);
   124         return anchor;
   124         return anchor;