langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleIndexFrameWriter.java
equal
deleted
inserted
replaced
108 } |
108 } |
109 |
109 |
110 /** |
110 /** |
111 * Returns each module name as a separate link. |
111 * Returns each module name as a separate link. |
112 * |
112 * |
113 * @param moduleName the module being documented |
113 * @param mdle the module being documented |
114 * @return content for the module link |
114 * @return content for the module link |
115 */ |
115 */ |
116 protected Content getModuleLink(ModuleElement mdle) { |
116 protected Content getModuleLink(ModuleElement mdle) { |
117 Content moduleLinkContent; |
117 Content moduleLinkContent; |
118 Content moduleLabel; |
118 Content mdlLabel = new StringContent(mdle.getQualifiedName()); |
119 moduleLabel = new StringContent(mdle.getQualifiedName().toString()); |
119 moduleLinkContent = getModuleFramesHyperLink(mdle, mdlLabel, "packageListFrame"); |
120 moduleLinkContent = getHyperLink(DocPaths.moduleFrame(mdle), |
|
121 moduleLabel, "", "packageListFrame"); |
|
122 Content li = HtmlTree.LI(moduleLinkContent); |
120 Content li = HtmlTree.LI(moduleLinkContent); |
123 return li; |
121 return li; |
124 } |
122 } |
125 |
123 |
126 /** |
124 /** |