Skip to content

Commit cc687fd

Browse files
8267575: Add new documentation group in HtmlStyle
Reviewed-by: hannesw
1 parent 5a5b807 commit cc687fd

File tree

1 file changed

+77
-14
lines changed
  • src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup

1 file changed

+77
-14
lines changed

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle.java

Lines changed: 77 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ public enum HtmlStyle {
5555
blockList,
5656
circle,
5757
classUses,
58-
deprecatedLabel,
59-
deprecationBlock,
60-
deprecationComment,
61-
descfrmTypeLabel,
6258
externalLink,
6359
hierarchy,
6460
horizontal,
@@ -74,18 +70,11 @@ public enum HtmlStyle {
7470
packages,
7571
packageHierarchyLabel,
7672
packageUses,
77-
permitsNote,
78-
previewBlock,
79-
previewComment,
80-
previewLabel,
81-
searchTagLink,
82-
searchTagResult,
8373
serializedPackageContainer,
8474
sourceContainer,
8575
sourceLineNo,
8676
typeNameLabel,
8777
typeNameLink,
88-
verticalSeparator,
8978

9079
//<editor-fold desc="navigation bar">
9180
//
@@ -358,6 +347,57 @@ public enum HtmlStyle {
358347

359348
//</editor-fold>
360349

350+
//<editor-fold desc="additional details">
351+
//
352+
// The following constants are used for the additional information that may be provided
353+
// for a declaration, such as whether it is deprecated or is a "preview" feature.
354+
355+
/**
356+
* The class for the "Deprecated" label in a block describing the "deprecated" status
357+
* of a declaration.
358+
*/
359+
deprecatedLabel,
360+
361+
/**
362+
* The class for a block describing the "deprecated" status of a declaration.
363+
*/
364+
deprecationBlock,
365+
366+
/**
367+
* The class for the details in a block describing the "deprecated" status of a declaration.
368+
*/
369+
deprecationComment,
370+
371+
/**
372+
* The class for a label indicating the element from which a description has been copied.
373+
*/
374+
// This should be renamed to something less cryptic
375+
descfrmTypeLabel,
376+
377+
/**
378+
* The class for a note providing information about the permitted subtypes of a
379+
* sealed class.
380+
*/
381+
permitsNote,
382+
383+
/**
384+
* The class for a block describing the "preview" status of a declaration.
385+
*/
386+
previewBlock,
387+
388+
/**
389+
* The class for the details in a block describing the "preview" status of a declaration.
390+
*/
391+
previewComment,
392+
393+
/**
394+
* The class for the "Preview" label in a block describing the "preview" status
395+
* of a declaration.
396+
*/
397+
previewLabel,
398+
399+
//</editor-fold>
400+
361401
//<editor-fold desc="tables">
362402
//
363403
// The following constants are used for "summary" and "details" tables.
@@ -621,6 +661,30 @@ public enum HtmlStyle {
621661
typeParametersLong,
622662
//</editor-fold>
623663

664+
//<editor-fold desc="search index and results">
665+
//
666+
// The following constants are used for items in the static and interactive search indexes.
667+
668+
/**
669+
* The class for a link in the static "Index" pages to a custom searchable item,
670+
* such as defined with an {@code @index} tag.
671+
*/
672+
searchTagLink,
673+
674+
/**
675+
* The class for a custom searchable item,
676+
* such as defined with an {@code @index} tag.
677+
*/
678+
searchTagResult,
679+
680+
/**
681+
* The class for the separator in the list of pages given at the top of the
682+
* static "Index" page(s).
683+
*/
684+
verticalSeparator,
685+
686+
//</editor-fold>
687+
624688
//<editor-fold desc="page styles for <body> elements">
625689
//
626690
// The following constants are used for the class of the {@code <body>} element
@@ -732,10 +796,9 @@ public enum HtmlStyle {
732796
treePage,
733797
//</editor-fold>
734798

735-
//<editor-fold desc="page styles for <body> elements">
799+
//<editor-fold desc="help page">
736800
//
737-
// The following constants are used for the class of the {@code <body>} element
738-
// for the corresponding pages.
801+
// The following constants are used for the contents of the "Help" page.
739802

740803
/**
741804
* The class of the footnote at the bottom of the page.

0 commit comments

Comments
 (0)