APIdia Launch Partner
Top Description Methods
jdk.javadoc.internal.html

public Interface HtmlStyle

Known Direct Implementers
jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyles

An abstraction for the type-safe representation and use of CSS class names.

API Note

Despite the name, implementations of this interface provide values for the HTML class attribute, and not the HTML style attribute. This is to avoid confusion with the widespread use of the word "class" in the Java ecosystem, and the potential for clashes with methods called setClass instead of setStyle.

See Also
HtmlTree#addStyle(HtmlStyle), HtmlTree#setStyle(HtmlStyle)

Method Summary

Modifier and TypeMethod and Description
public String

Method Detail

cssNameback to summary
public String cssName()