Klasse PreviewListWriter
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.SubWriterHolderWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.SummaryListWriter<PreviewAPIListBuilder>
org.jdrupes.mdoclet.internal.doclets.formats.html.PreviewListWriter
Generate File to list all the preview elements with the
appropriate links.
-
Feldübersicht
Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.formats.html.SummaryListWriter
builder
Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.formats.html.SubWriterHolderWriter
bodyContents
Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
comparators, configuration, contents, docPaths, filename, htmlIds, links, mainBodyScript, messages, options, path, pathToRoot, resources, utils, winTitle
-
Konstruktorübersicht
KonstruktorBeschreibungPreviewListWriter
(HtmlConfiguration configuration, DocPath filename) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
addComments
(Element e, Content desc) Add summary text for the given element.protected void
addContentSelectors
(Content target) Subclasses allow the user to show or hide parts of the content in the page.protected void
addTableTabs
(Table<Element> table, String headingKey) Allow subclasses to add extra tabs to the element tables.static void
generate
(HtmlConfiguration configuration) Get list of all the preview elements.protected HtmlStyle[]
Gets the array of styles to use for table columns.protected Content
getExtraContent
(Element element) Some subclasses of this class display an extra column in their element tables.protected TableHeader
getTableHeader
(String headerKey) Gets the table header to use for a table with the first column identified by headerKey.Von Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.formats.html.SummaryListWriter
addExtraIndexLink, addExtraSection, addIndexLink, addSummaryAPI, generateSummaryListFile, getContentsList, getHeader, getHeadingKey, getSummaryLink, getTableCaption
Von Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.formats.html.SubWriterHolderWriter
addAnnotationContent, addClassContent, addIndexComment, addIndexComment, addInheritedMemberSummary, addInheritedSummaryHeader, addSummary, addSummaryHeader, addSummaryLinkComment, addSummaryLinkComment, getContentHeader, getDetailsList, getDetailsListItem, getMember, getMember, getMemberDetailsContent, getMemberHeader, getMemberInherited, getMemberList, getMemberListItem, getMemberSummary, getSummariesList, getSummariesListItem
Von Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
addInlineComment, addInlineComment, addInlineDeprecatedComment, addPreQualifiedClassLink, addPreQualifiedClassLink, addPreQualifiedStrongClassLink, addPreviewComment, addPreviewInfo, addPreviewSummary, addSrcLink, addSummaryComment, addSummaryComment, addSummaryDeprecatedComment, addTagsInfo, commentTagsToContent, commentTagsToContent, commentTagsToContent, getAnnotations, getBlockTagOutput, getBlockTagOutput, getBody, getBodyStyle, getCrossClassLink, getCrossModuleLink, getCrossPackageLink, getCurrentPageElement, getDeprecatedPhrase, getDocLink, getDocLink, getDocLink, getDocLink, getDocLink, getEnclosingPackageName, getFooter, getHeader, getHeader, getLink, getLocalizedPackageName, getModuleLink, getModuleLink, getNavBar, getNavLinkToOverviewTree, getPackageLabel, getPackageLink, getPackageLink, getPackageTableHeader, getPreQualifiedClassLink, getQualifiedClassLink, getTagletWriterInstance, getTagletWriterInstance, getTypeParameterLinks, getWindowTitle, hasSerializationOverviewTags, invalidTagOutput, pathString, pathString, printHtmlDocument, printHtmlDocument, printHtmlDocument, replaceDocRootDir, resolveExternalSpecURI
-
Konstruktordetails
-
PreviewListWriter
Constructor.- Parameter:
configuration
- the configuration for this docletfilename
- the file to be generated
-
-
Methodendetails
-
generate
Get list of all the preview elements.Then instantiate PreviewListWriter and generate File.
- Parameter:
configuration
- the current configuration of the doclet.- Löst aus:
DocFileIOException
- if there is a problem writing the preview list
-
addContentSelectors
Beschreibung aus Klasse kopiert:SummaryListWriter
Subclasses allow the user to show or hide parts of the content in the page.This method should be used to add the UI to select the visible page content.
- Angegeben von:
addContentSelectors
in KlasseSummaryListWriter<PreviewAPIListBuilder>
- Parameter:
target
- the content to which the UI should be added
-
addComments
Beschreibung aus Klasse kopiert:SummaryListWriter
Add summary text for the given element.- Setzt außer Kraft:
addComments
in KlasseSummaryListWriter<PreviewAPIListBuilder>
- Parameter:
e
- the element for which the summary text should be addeddesc
- the content to which the text should be added
-
addTableTabs
Beschreibung aus Klasse kopiert:SummaryListWriter
Allow subclasses to add extra tabs to the element tables.- Angegeben von:
addTableTabs
in KlasseSummaryListWriter<PreviewAPIListBuilder>
- Parameter:
table
- the element tableheadingKey
- the key for the caption (default tab)
-
getExtraContent
Beschreibung aus Klasse kopiert:SummaryListWriter
Some subclasses of this class display an extra column in their element tables.This methods allows them to return the content to show for element.
- Angegeben von:
getExtraContent
in KlasseSummaryListWriter<PreviewAPIListBuilder>
- Parameter:
element
- the element- Gibt zurück:
- content for extra content or null
-
getTableHeader
Beschreibung aus Klasse kopiert:SummaryListWriter
Gets the table header to use for a table with the first column identified by headerKey.- Setzt außer Kraft:
getTableHeader
in KlasseSummaryListWriter<PreviewAPIListBuilder>
- Parameter:
headerKey
- the header key for the first table column- Gibt zurück:
- the table header
-
getColumnStyles
Beschreibung aus Klasse kopiert:SummaryListWriter
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
SummaryListWriter.getTableHeader(String)
.- Setzt außer Kraft:
getColumnStyles
in KlasseSummaryListWriter<PreviewAPIListBuilder>
- Gibt zurück:
- the styles to use for table columns
-