langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/PackageIndexFrameWriter.java
changeset 36526 3b41f1c69604
parent 29957 7740f9657f56
child 38617 d93a7f64e231
equal deleted inserted replaced
36525:4caf88912b7f 36526:3b41f1c69604
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2016, 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
   156         Content li = HtmlTree.LI(linkContent);
   156         Content li = HtmlTree.LI(linkContent);
   157         ul.addContent(li);
   157         ul.addContent(li);
   158     }
   158     }
   159 
   159 
   160     /**
   160     /**
   161      * Adds "All Profiles" link for the top of the left-hand frame page to the
       
   162      * documentation tree.
       
   163      *
       
   164      * @param ul the Content object to which the "All Profiles" link should be added
       
   165      */
       
   166     protected void addAllProfilesLink(Content ul) {
       
   167         Content linkContent = getHyperLink(DocPaths.PROFILE_OVERVIEW_FRAME,
       
   168                 allprofilesLabel, "", "packageListFrame");
       
   169         Content li = HtmlTree.LI(linkContent);
       
   170         ul.addContent(li);
       
   171     }
       
   172 
       
   173     /**
       
   174      * {@inheritDoc}
   161      * {@inheritDoc}
   175      */
   162      */
   176     protected void addNavigationBarFooter(Content body) {
   163     protected void addNavigationBarFooter(Content body) {
   177         Content p = HtmlTree.P(getSpace());
   164         Content p = HtmlTree.P(getSpace());
   178         body.addContent(p);
   165         body.addContent(p);