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

changeset 1935
8c55df2442c1
parent 1747
df4f44800923
child 2101
933ba3f81a87
equal deleted inserted replaced
1934:c7dcf899ffff 1935:8c55df2442c1
133 holder, property, 133 holder, property,
134 holder.isIncluded() ? 134 holder.isIncluded() ?
135 holder.typeName() : holder.qualifiedTypeName(), 135 holder.typeName() : holder.qualifiedTypeName(),
136 false); 136 false);
137 Content codeLink = HtmlTree.CODE(link); 137 Content codeLink = HtmlTree.CODE(link);
138 Content strong = HtmlTree.STRONG(holder.isClass()? 138 Content strong = HtmlTree.SPAN(HtmlStyle.strong, holder.isClass()?
139 writer.descfrmClassLabel : writer.descfrmInterfaceLabel); 139 writer.descfrmClassLabel : writer.descfrmInterfaceLabel);
140 strong.addContent(writer.getSpace()); 140 strong.addContent(writer.getSpace());
141 strong.addContent(codeLink); 141 strong.addContent(codeLink);
142 propertyDocTree.addContent(HtmlTree.DIV(HtmlStyle.block, strong)); 142 propertyDocTree.addContent(HtmlTree.DIV(HtmlStyle.block, strong));
143 writer.addInlineComment(property, propertyDocTree); 143 writer.addInlineComment(property, propertyDocTree);
250 /** 250 /**
251 * {@inheritDoc} 251 * {@inheritDoc}
252 */ 252 */
253 protected void addSummaryLink(LinkInfoImpl.Kind context, ClassDoc cd, ProgramElementDoc member, 253 protected void addSummaryLink(LinkInfoImpl.Kind context, ClassDoc cd, ProgramElementDoc member,
254 Content tdSummary) { 254 Content tdSummary) {
255 Content strong = HtmlTree.STRONG( 255 Content strong = HtmlTree.SPAN(HtmlStyle.strong,
256 writer.getDocLink(context, 256 writer.getDocLink(context, cd,
257 cd, 257 (MemberDoc) member,
258 (MemberDoc) member, 258 member.name().substring(0, member.name().lastIndexOf("Property")),
259 member.name().substring(0, member.name().lastIndexOf("Property")), 259 false,
260 false, 260 true));
261 true));
262 261
263 Content code = HtmlTree.CODE(strong); 262 Content code = HtmlTree.CODE(strong);
264 tdSummary.addContent(code); 263 tdSummary.addContent(code);
265 } 264 }
266 265

mercurial