Note
the use of "Summary" in this context is distinct from the use of "summary" in the
context of AbstractMemberWriter#buildSummary(Content).
| Modifier and Type | Field and Description |
|---|---|
| protected final B | builder
The summary list builder |
| protected final String | |
| protected final String |
| Access | Constructor and Description |
|---|---|
| public | SummaryListWriter(HtmlConfiguration
the configuration for this doclet configuration, DocPath the file to be generated filename, B the summary list builder builder)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addComments(Element
the element for which the summary text should be added e, Content the content to which the text should be added desc)Add summary text for the given element. |
| protected void | addContentSelectors(Content
the content to which the UI should be added target)Allow Subclasses to add a content selector UI such as a row of radio buttons near the top of the page. |
| protected void | addSummaries(Content
the content to add the API summary tables to content)Add all API summary tables to the main content of the page. |
| protected void | addSummaryAPI(SortedSet<Element>
list of API summary elements apiList, HtmlId the id attribute of the table id, String the caption for the summary table headingKey, String table header key for the summary table headerKey, Content the content to which the summary table will be added content)Add summary information to the documentation |
| protected void | addTableTabs(Table<Element>
the element table table, String the key for the caption (default tab) headingKey)Allow subclasses to add extra tabs to the element tables. |
| public void | buildPage()
Implements abstract jdk. Generate the API summary. |
| protected Content | Returns: a content object containing the checkbox inputThe label label, String the id of the selected content id, String the prefix for the HTML id htmlPrefix)Create a checkbox input element and associated label for selecting content on a summary page. |
| protected HtmlStyle[] | Returns: the styles to use for table columnsGets the array of styles to use for table columns. |
| protected abstract String | Returns: the page descrition, for the<meta> elementReturns the page descrition, for the |
| protected Content | Returns: content for extra content or nullthe element element)Allow subclasses to add an extra table column for an element. |
| protected abstract Content | |
| public HtmlTree | Returns: the header for the API Summary listingpage mode to use pageMode,page title resource key titleKey)Returns the header for the API Summary listing. |
| private String | |
| protected String | |
| protected Content | Returns: a list item containing an index linkthe id for the link id, String the key for the heading content headingKey)Returns a list item containing a link for the table of contents. |
| protected List | Returns: a list of list items containing the links for the table of contentsReturns a list of list items containing the links for the table of contents. |
| protected abstract Navigation. | |
| protected Content | |
| protected Content | Returns: the table captionthe key for the table heading headingKey)Returns the caption for the table with the given |
| protected TableHeader | Returns: the table headerthe header key for the first table column headerKey)Gets the table header to use for a table with the first column identified by |
| protected abstract String | |
| protected boolean | Returns: true if the contents list should be generated, false if notReturns |
| builder | back to summary |
|---|---|
| protected final B builder The summary list builder | |
| ID_ALL | back to summary |
|---|---|
| protected final String ID_ALL | |
| ID_OTHER | back to summary |
|---|---|
| protected final String ID_OTHER | |
| SummaryListWriter | back to summary |
|---|---|
| public SummaryListWriter(HtmlConfiguration configuration, DocPath filename, B builder) Constructor.
| |
| addComments | back to summary |
|---|---|
| protected void addComments(Element e, Content desc) Add summary text for the given element. | |
| addContentSelectors | back to summary |
|---|---|
| protected void addContentSelectors(Content target) Allow Subclasses to add a content selector UI such as a row of radio buttons near the top of the page. This method does not add anything.
| |
| addSummaries | back to summary |
|---|---|
| protected void addSummaries(Content content) Add all API summary tables to the main content of the page.
| |
| addSummaryAPI | back to summary |
|---|---|
| protected void addSummaryAPI(SortedSet<Element> apiList, HtmlId id, String headingKey, String headerKey, Content content) Add summary information to the documentation | |
| addTableTabs | back to summary |
|---|---|
| protected void addTableTabs(Table<Element> table, String headingKey) Allow subclasses to add extra tabs to the element tables. This method does not add any tabs. | |
| buildPage | back to summary |
|---|---|
| public void buildPage() throws DocFileIOException Implements abstract jdk. Generate the API summary.
| |
| getCheckbox | back to summary |
|---|---|
| protected Content getCheckbox(Content label, String id, String htmlPrefix) Create a checkbox input element and associated label for selecting content on a summary page. | |
| getColumnStyles | back to summary |
|---|---|
| protected HtmlStyle[] getColumnStyles() Gets the array of styles to use for table columns. The length of the returned
array must match the number of column headers returned by
| |
| getDescription | back to summary |
|---|---|
| protected abstract String getDescription() Returns the page descrition, for the
| |
| getExtraContent | back to summary |
|---|---|
| protected Content getExtraContent(Element element) Allow subclasses to add an extra table column for an element.
Return | |
| getHeadContent | back to summary |
|---|---|
| protected abstract Content getHeadContent() Returns the heading for the page.
| |
| getHeader | back to summary |
|---|---|
| public HtmlTree getHeader(Navigation. Returns the header for the API Summary listing.
| |
| getHeaderKey | back to summary |
|---|---|
| private String getHeaderKey(SummaryAPIListBuilder. | |
| getHeadingKey | back to summary |
|---|---|
| protected String getHeadingKey(SummaryAPIListBuilder. | |
| getIndexLink | back to summary |
|---|---|
| protected Content getIndexLink(HtmlId id, String headingKey) Returns a list item containing a link for the table of contents. | |
| getIndexLinks | back to summary |
|---|---|
| protected List Returns a list of list items containing the links for the table of contents. | |
| getPageMode | back to summary |
|---|---|
| protected abstract Navigation. Returns the page mode to use.
| |
| getSummaryLink | back to summary |
|---|---|
| protected Content getSummaryLink(Element e) | |
| getTableCaption | back to summary |
|---|---|
| protected Content getTableCaption(String headingKey) Returns the caption for the table with the given | |
| getTableHeader | back to summary |
|---|---|
| protected TableHeader getTableHeader(String headerKey) Gets the table header to use for a table with the first column identified by
| |
| getTitleKey | back to summary |
|---|---|
| protected abstract String getTitleKey() Returns the title for the page.
| |
| showContentsList | back to summary |
|---|---|
| protected boolean showContentsList() Returns
| |