1 /* |
1 /* |
2 * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
244 Content tdFirst = HtmlTree.TD(HtmlStyle.colFirst, |
244 Content tdFirst = HtmlTree.TD(HtmlStyle.colFirst, |
245 getHyperLink("", pkg.name(), new StringContent(Util.getPackageName(pkg)))); |
245 getHyperLink("", pkg.name(), new StringContent(Util.getPackageName(pkg)))); |
246 contentTree.addContent(tdFirst); |
246 contentTree.addContent(tdFirst); |
247 HtmlTree tdLast = new HtmlTree(HtmlTag.TD); |
247 HtmlTree tdLast = new HtmlTree(HtmlTag.TD); |
248 tdLast.addStyle(HtmlStyle.colLast); |
248 tdLast.addStyle(HtmlStyle.colLast); |
249 if (pkg != null) |
249 addSummaryComment(pkg, tdLast); |
250 addSummaryComment(pkg, tdLast); |
|
251 else |
|
252 tdLast.addContent(getSpace()); |
|
253 contentTree.addContent(tdLast); |
250 contentTree.addContent(tdLast); |
254 } |
251 } |
255 |
252 |
256 /** |
253 /** |
257 * Get the header for the package use listing. |
254 * Get the header for the package use listing. |