1 /* |
1 /* |
2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 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 |
158 } |
158 } |
159 String label = italicsClassName(cd, false); |
159 String label = italicsClassName(cd, false); |
160 Content linkContent; |
160 Content linkContent; |
161 if(wantFrames){ |
161 if(wantFrames){ |
162 linkContent = new RawHtml(getLink(new LinkInfoImpl(configuration, |
162 linkContent = new RawHtml(getLink(new LinkInfoImpl(configuration, |
163 LinkInfoImpl.ALL_CLASSES_FRAME, cd, label, "classFrame"))); |
163 LinkInfoImpl.Kind.ALL_CLASSES_FRAME, cd, label, "classFrame"))); |
164 } else { |
164 } else { |
165 linkContent = new RawHtml(getLink(new LinkInfoImpl( |
165 linkContent = new RawHtml(getLink(new LinkInfoImpl( |
166 configuration, cd, label))); |
166 configuration, cd, label))); |
167 } |
167 } |
168 Content li = HtmlTree.LI(linkContent); |
168 Content li = HtmlTree.LI(linkContent); |