langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleIndexWriter.java
equal
deleted
inserted
replaced
180 * @param body the documentation tree to which the overview header will be added |
180 * @param body the documentation tree to which the overview header will be added |
181 */ |
181 */ |
182 @Override |
182 @Override |
183 protected void addOverviewHeader(Content body) { |
183 protected void addOverviewHeader(Content body) { |
184 addConfigurationTitle(body); |
184 addConfigurationTitle(body); |
185 if (!utils.getBody(configuration.overviewElement).isEmpty()) { |
185 if (!utils.getFullBody(configuration.overviewElement).isEmpty()) { |
186 HtmlTree subTitleDiv = new HtmlTree(HtmlTag.DIV); |
186 HtmlTree subTitleDiv = new HtmlTree(HtmlTag.DIV); |
187 subTitleDiv.addStyle(HtmlStyle.subTitle); |
187 subTitleDiv.addStyle(HtmlStyle.subTitle); |
188 addSummaryComment(configuration.overviewElement, subTitleDiv); |
188 addSummaryComment(configuration.overviewElement, subTitleDiv); |
189 Content div = HtmlTree.DIV(HtmlStyle.header, subTitleDiv); |
189 Content div = HtmlTree.DIV(HtmlStyle.header, subTitleDiv); |
190 Content see = new ContentBuilder(); |
190 Content see = new ContentBuilder(); |
210 * |
210 * |
211 * @param htmltree the documentation tree to which the overview comment will |
211 * @param htmltree the documentation tree to which the overview comment will |
212 * be added |
212 * be added |
213 */ |
213 */ |
214 protected void addOverviewComment(Content htmltree) { |
214 protected void addOverviewComment(Content htmltree) { |
215 if (!utils.getBody(configuration.overviewElement).isEmpty()) { |
215 if (!utils.getFullBody(configuration.overviewElement).isEmpty()) { |
216 htmltree.addContent(getMarkerAnchor(SectionName.OVERVIEW_DESCRIPTION)); |
216 htmltree.addContent(getMarkerAnchor(SectionName.OVERVIEW_DESCRIPTION)); |
217 addInlineComment(configuration.overviewElement, htmltree); |
217 addInlineComment(configuration.overviewElement, htmltree); |
218 } |
218 } |
219 } |
219 } |
220 |
220 |