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

changeset 233
5240b1120530
parent 182
47a62d8d98b4
child 554
9d9f26857129
equal deleted inserted replaced
232:1fbc1cc6e260 233:5240b1120530
23 * have any questions. 23 * have any questions.
24 */ 24 */
25 25
26 package com.sun.tools.doclets.formats.html; 26 package com.sun.tools.doclets.formats.html;
27 27
28 import java.io.*;
29
30 import com.sun.javadoc.*;
28 import com.sun.tools.doclets.internal.toolkit.util.*; 31 import com.sun.tools.doclets.internal.toolkit.util.*;
29 import com.sun.javadoc.*; 32
30 import java.io.*;
31 /** 33 /**
32 * Generate Class Hierarchy page for all the Classes in this run. Use 34 * Generate Class Hierarchy page for all the Classes in this run. Use
33 * ClassTree for building the Tree. The name of 35 * ClassTree for building the Tree. The name of
34 * the generated file is "overview-tree.html" and it is generated in the 36 * the generated file is "overview-tree.html" and it is generated in the
35 * current or the destination directory. 37 * current or the destination directory.
118 } 120 }
119 if (!classesonly) { 121 if (!classesonly) {
120 dl(); 122 dl();
121 dt(); 123 dt();
122 strongText("doclet.Package_Hierarchies"); 124 strongText("doclet.Package_Hierarchies");
125 dtEnd();
123 dd(); 126 dd();
124 for (int i = 0; i < packages.length; i++) { 127 for (int i = 0; i < packages.length; i++) {
125 if (packages[i].name().length() == 0) { 128 if (packages[i].name().length() == 0) {
126 continue; 129 continue;
127 } 130 }
129 printHyperLink(filename, "", packages[i].name()); 132 printHyperLink(filename, "", packages[i].name());
130 if (i < packages.length - 1) { 133 if (i < packages.length - 1) {
131 print(", "); 134 print(", ");
132 } 135 }
133 } 136 }
137 ddEnd();
134 dlEnd(); 138 dlEnd();
135 hr(); 139 hr();
136 } 140 }
137 } 141 }
138 142

mercurial