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

changeset 1735
8ea30d59ac41
parent 1410
bfec2a1cc869
child 1736
74cd21f2c2fe
equal deleted inserted replaced
1734:8dd528992c15 1735:8ea30d59ac41
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2013, 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
177 if (!Util.isCoreClass(classes[i]) || 177 if (!Util.isCoreClass(classes[i]) ||
178 !configuration.isGeneratedDoc(classes[i])) { 178 !configuration.isGeneratedDoc(classes[i])) {
179 continue; 179 continue;
180 } 180 }
181 Content classContent = new RawHtml(getLink(new LinkInfoImpl( 181 Content classContent = new RawHtml(getLink(new LinkInfoImpl(
182 configuration, LinkInfoImpl.CONTEXT_PACKAGE, classes[i], 182 configuration, LinkInfoImpl.Kind.PACKAGE, classes[i],
183 false))); 183 false)));
184 Content tdClass = HtmlTree.TD(HtmlStyle.colFirst, classContent); 184 Content tdClass = HtmlTree.TD(HtmlStyle.colFirst, classContent);
185 HtmlTree tr = HtmlTree.TR(tdClass); 185 HtmlTree tr = HtmlTree.TR(tdClass);
186 if (i%2 == 0) 186 if (i%2 == 0)
187 tr.addStyle(HtmlStyle.altColor); 187 tr.addStyle(HtmlStyle.altColor);

mercurial