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

changeset 927
b60754fe206d
parent 798
4868a36f6fd8
child 995
62bc3775d5bb
equal deleted inserted replaced
926:46ed58a098ad 927:b60754fe206d
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.

mercurial