34 * Generate the package index page "overview-summary.html" for the right-hand |
34 * Generate the package index page "overview-summary.html" for the right-hand |
35 * frame. A click on the package name on this page will update the same frame |
35 * frame. A click on the package name on this page will update the same frame |
36 * with the "pacakge-summary.html" file for the clicked package. |
36 * with the "pacakge-summary.html" file for the clicked package. |
37 * |
37 * |
38 * @author Atul M Dambalkar |
38 * @author Atul M Dambalkar |
|
39 * @author Bhavesh Patel (Modified) |
39 */ |
40 */ |
40 public class PackageIndexWriter extends AbstractPackageIndexWriter { |
41 public class PackageIndexWriter extends AbstractPackageIndexWriter { |
41 |
42 |
42 /** |
43 /** |
43 * Root of the program structure. Used for "overview" documentation. |
44 * Root of the program structure. Used for "overview" documentation. |
121 for (int i = 0; i < groupList.size(); i++) { |
122 for (int i = 0; i < groupList.size(); i++) { |
122 String groupname = groupList.get(i); |
123 String groupname = groupList.get(i); |
123 List<PackageDoc> list = groupPackageMap.get(groupname); |
124 List<PackageDoc> list = groupPackageMap.get(groupname); |
124 if (list != null && list.size() > 0) { |
125 if (list != null && list.size() > 0) { |
125 printIndexContents(list.toArray(new PackageDoc[list.size()]), |
126 printIndexContents(list.toArray(new PackageDoc[list.size()]), |
126 groupname); |
127 groupname, |
|
128 configuration.getText("doclet.Member_Table_Summary", |
|
129 groupname, |
|
130 configuration.getText("doclet.packages"))); |
127 } |
131 } |
128 } |
132 } |
129 } |
133 } |
130 |
134 |
131 /** |
135 /** |
147 } |
151 } |
148 |
152 |
149 /** |
153 /** |
150 * Print Html tags for the table for this package index. |
154 * Print Html tags for the table for this package index. |
151 */ |
155 */ |
152 protected void printIndexHeader(String text) { |
156 protected void printIndexHeader(String text, String tableSummary) { |
153 tableIndexSummary(); |
157 tableIndexSummary(tableSummary); |
154 tableHeaderStart("#CCCCFF"); |
158 tableCaptionStart(); |
155 strong(text); |
159 print(text); |
156 tableHeaderEnd(); |
160 tableCaptionEnd(); |
|
161 summaryTableHeader(packageTableHeader, "col"); |
157 } |
162 } |
158 |
163 |
159 /** |
164 /** |
160 * Print Html closing tags for the table for this package index. |
165 * Print Html closing tags for the table for this package index. |
161 */ |
166 */ |