8275273: Add missing HtmlStyle documentation
Reviewed-by: jjg
This commit is contained in:
parent
bd0bed71e5
commit
5454a76752
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets
@ -51,34 +51,6 @@ import java.util.regex.Pattern;
|
||||
* @see <a href="https://html.spec.whatwg.org/#classes">WhatWG: {@code class} attribute</a>
|
||||
*/
|
||||
public enum HtmlStyle {
|
||||
block,
|
||||
blockList,
|
||||
circle,
|
||||
classUses,
|
||||
externalLink,
|
||||
hierarchy,
|
||||
horizontal,
|
||||
implementationLabel,
|
||||
index,
|
||||
inheritance,
|
||||
inheritedList,
|
||||
legalCopy,
|
||||
memberNameLabel,
|
||||
memberNameLink,
|
||||
nameValue,
|
||||
packages,
|
||||
packageHierarchyLabel,
|
||||
packageUses,
|
||||
serializedPackageContainer,
|
||||
sourceContainer,
|
||||
sourceLineNo,
|
||||
typeNameLabel,
|
||||
typeNameLink,
|
||||
|
||||
/**
|
||||
* The class of the {@code pre} element presenting a snippet.
|
||||
*/
|
||||
snippet,
|
||||
|
||||
//<editor-fold desc="navigation bar">
|
||||
//
|
||||
@ -604,6 +576,12 @@ public enum HtmlStyle {
|
||||
*/
|
||||
packageSignature,
|
||||
|
||||
/**
|
||||
* The class of a {@code span} element containing the type name in a
|
||||
* type signature.
|
||||
*/
|
||||
typeNameLabel,
|
||||
|
||||
/**
|
||||
* The class of an element containing a type signature.
|
||||
*/
|
||||
@ -852,7 +830,134 @@ public enum HtmlStyle {
|
||||
/**
|
||||
* The class of the second-level lists in the table of contents for the page.
|
||||
*/
|
||||
helpSubTOC("help-subtoc");
|
||||
helpSubTOC("help-subtoc"),
|
||||
|
||||
//</editor-fold>
|
||||
|
||||
//<editor-fold desc="miscellaneous">
|
||||
//
|
||||
// The following constants are used in various places across a variety of pages.
|
||||
|
||||
/**
|
||||
* The class of a {@code div} element containing part of a documentation comment.
|
||||
*/
|
||||
block,
|
||||
|
||||
/**
|
||||
* The class of a {@code ul} element containing parts of documentation comments.
|
||||
*/
|
||||
blockList,
|
||||
|
||||
/**
|
||||
* The class of a {@code ul} element in the hierarchical tree view.
|
||||
*/
|
||||
circle,
|
||||
|
||||
/**
|
||||
* The class of a {@code ul} element listing classes in the uses page.
|
||||
*/
|
||||
classUses,
|
||||
|
||||
/**
|
||||
* The class of an {@code a} element for a link with an external target.
|
||||
*/
|
||||
externalLink,
|
||||
|
||||
/**
|
||||
* The class of a {@code section} element containing a hierarchical
|
||||
* tree view.
|
||||
*/
|
||||
hierarchy,
|
||||
|
||||
/**
|
||||
* The class of a {@code ul} element with horizontal (inline) display style.
|
||||
*/
|
||||
horizontal,
|
||||
|
||||
/**
|
||||
* The class of a {@code span} element containing implementation details of
|
||||
* a "provides" entry in a module page.
|
||||
*/
|
||||
implementationLabel,
|
||||
|
||||
/**
|
||||
* The class of a {@code dl} element in the body of index pages.
|
||||
*/
|
||||
index,
|
||||
|
||||
/**
|
||||
* The class of a {@code div} element containing the inheritance tree of
|
||||
* a class page.
|
||||
*/
|
||||
inheritance,
|
||||
|
||||
/**
|
||||
* The class of a {@code div} element containing a summary of inherited
|
||||
* members in the class page.
|
||||
*/
|
||||
inheritedList,
|
||||
|
||||
/**
|
||||
* The class of a {@code p} element containing legal copy in the page footer.
|
||||
*/
|
||||
legalCopy,
|
||||
|
||||
/**
|
||||
* The class of an {@code a} element for a link in member summary lists.
|
||||
*/
|
||||
memberNameLink,
|
||||
|
||||
/**
|
||||
* The class for a {@code dl} element containing serial UID information in
|
||||
* the serialized form page.
|
||||
*/
|
||||
nameValue,
|
||||
|
||||
/**
|
||||
* The class of a {@code section} element containing the packages section
|
||||
* in the constant field values page.
|
||||
*/
|
||||
packages,
|
||||
|
||||
/**
|
||||
* The class of a {@code span} element containing the package hierarchy
|
||||
* label in the tree page.
|
||||
*/
|
||||
packageHierarchyLabel,
|
||||
|
||||
/**
|
||||
* The class of a {@code li} element containing a content section of
|
||||
* the package uses page.
|
||||
*/
|
||||
packageUses,
|
||||
|
||||
/**
|
||||
* The class of a {@code section} element for a package in the serialized
|
||||
* form page.
|
||||
*/
|
||||
serializedPackageContainer,
|
||||
|
||||
/**
|
||||
* The class of a {@code div} element containing source code in the
|
||||
* source page.
|
||||
*/
|
||||
sourceContainer,
|
||||
|
||||
/**
|
||||
* The class of a {@code span} element containing a line number in the
|
||||
* source page.
|
||||
*/
|
||||
sourceLineNo,
|
||||
|
||||
/**
|
||||
* The class of the {@code pre} element presenting a snippet.
|
||||
*/
|
||||
snippet,
|
||||
|
||||
/**
|
||||
* The class of an {@code a} element for a link to a class or interface.
|
||||
*/
|
||||
typeNameLink;
|
||||
|
||||
//</editor-fold>
|
||||
|
||||
|
@ -522,7 +522,7 @@ div.block {
|
||||
margin:0 10px 5px 0;
|
||||
color:#474747;
|
||||
}
|
||||
.deprecated-label, .description-from-type-label, .implementation-label, .member-name-label, .member-name-link,
|
||||
.deprecated-label, .description-from-type-label, .implementation-label, .member-name-link,
|
||||
.module-label-in-package, .module-label-in-type, .package-label-in-type,
|
||||
.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label {
|
||||
font-weight:bold;
|
||||
|
Loading…
x
Reference in New Issue
Block a user