|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.Writer
java.io.PrintWriter
com.sun.tools.doclets.formats.html.markup.HtmlWriter
com.sun.tools.doclets.formats.html.markup.HtmlDocWriter
com.sun.tools.doclets.formats.html.HtmlDocletWriter
com.sun.tools.doclets.formats.html.AbstractPackageIndexWriter
com.sun.tools.doclets.formats.html.PackageIndexWriter
public class PackageIndexWriter
Generate the package index page "overview-summary.html" for the right-hand frame. A click on the package name on this page will update the same frame with the "pacakge-summary.html" file for the clicked package.
| Field Summary | |
|---|---|
private java.util.List<java.lang.String> |
groupList
List to store the order groups as specified on the command line. |
private java.util.Map<java.lang.String,java.util.List<PackageDoc>> |
groupPackageMap
Map representing the group of packages as specified on the command line. |
private RootDoc |
root
Root of the program structure. |
| Fields inherited from class com.sun.tools.doclets.formats.html.AbstractPackageIndexWriter |
|---|
packages |
| Fields inherited from class com.sun.tools.doclets.formats.html.HtmlDocletWriter |
|---|
configuration, displayLength, filename, path, relativePath, relativepathNoSlash |
| Fields inherited from class com.sun.tools.doclets.formats.html.markup.HtmlWriter |
|---|
fileseparator, htmlFilename, winTitle |
| Fields inherited from class java.io.PrintWriter |
|---|
out |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
PackageIndexWriter(ConfigurationImpl configuration,
java.lang.String filename)
Construct the PackageIndexWriter. |
|
| Method Summary | |
|---|---|
static void |
generate(ConfigurationImpl configuration)
Generate the package index page for the right-hand frame. |
protected void |
generateIndex()
Depending upon the grouping information and their titles, generate separate table indices for each package group. |
protected void |
printIndexFooter()
Print Html closing tags for the table for this package index. |
protected void |
printIndexHeader(java.lang.String text)
Print Html tags for the table for this package index. |
protected void |
printIndexRow(PackageDoc pkg)
Print each package in separate rows in the index table. |
protected void |
printNavigationBarFooter()
Print the lower navigation bar and the bottom text (from the -bottom option) at the bottom of page. |
protected void |
printNavigationBarHeader()
Print the top text (from the -top option), the upper navigation bar, and then the title (from the"-title" option), at the top of page. |
protected void |
printOverview()
Call printOverviewComment() and then genrate the tag information
as provided in the file specified by the "-overview" option on the
command line. |
protected void |
printOverviewComment()
Print the overview comment as provided in the file specified by the "-overview" option on the command line. |
protected void |
printOverviewHeader()
Print the overview summary comment for this documentation. |
| Methods inherited from class com.sun.tools.doclets.formats.html.AbstractPackageIndexWriter |
|---|
generatePackageIndexFile, navLinkContents, printAllClassesPackagesLink, printConfigurationTitle, printIndexContents |
| Methods inherited from class com.sun.tools.doclets.formats.html.markup.HtmlDocWriter |
|---|
getHyperLink, getHyperLink, getHyperLink, getHyperLink, getPkgName, printBodyHtmlEnd, printFooter, printFrameFooter, printFramesetHeader, printFramesetHeader, printHyperLink, printHyperLink, printHyperLink, printHyperLink, printNbsps, printPkgName, spaces, today |
| Methods inherited from class java.io.PrintWriter |
|---|
append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private RootDoc root
private java.util.Map<java.lang.String,java.util.List<PackageDoc>> groupPackageMap
Groupprivate java.util.List<java.lang.String> groupList
| Constructor Detail |
|---|
public PackageIndexWriter(ConfigurationImpl configuration,
java.lang.String filename)
throws java.io.IOException
java.io.IOExceptionGroup| Method Detail |
|---|
public static void generate(ConfigurationImpl configuration)
configuration - the current configuration of the doclet.protected void printIndexRow(PackageDoc pkg)
printIndexRow in class AbstractPackageIndexWriterpkg - Package to which link is to be generated.protected void generateIndex()
generateIndex in class AbstractPackageIndexWriterprotected void printOverviewHeader()
printOverviewHeader in class AbstractPackageIndexWriterprotected void printIndexHeader(java.lang.String text)
printIndexHeader in class AbstractPackageIndexWriterprotected void printIndexFooter()
printIndexFooter in class AbstractPackageIndexWriterprotected void printOverviewComment()
protected void printOverview()
throws java.io.IOException
printOverviewComment() and then genrate the tag information
as provided in the file specified by the "-overview" option on the
command line.
printOverview in class AbstractPackageIndexWriterjava.io.IOExceptionprotected void printNavigationBarHeader()
printNavigationBarHeader in class AbstractPackageIndexWriterprotected void printNavigationBarFooter()
printNavigationBarFooter in class AbstractPackageIndexWriter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||