Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 jdk.javadoc.jmod - Java Document Tool
JDK 11 jdk.javadoc.jmod is the JMOD file for JDK 11 Java Document tool, which can be invoked by the "javadoc" command.
JDK 11 Java Document tool compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.javadoc.jmod.
JDK 11 Java Document tool compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Java Document tool source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.javadoc.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/javadoc/internal/doclets/formats/html/markup/TableHeader.java
/* * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package jdk.javadoc.internal.doclets.formats.html.markup; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import jdk.javadoc.internal.doclets.formats.html.Contents; import jdk.javadoc.internal.doclets.toolkit.Content; /** * A row header for an HTML table. * * The header contains a list of {@code <th>} cells, providing the column headers. * The attribute {@code scope="col"} is automatically added to each header cell. * In addition, a series of style class names can be specified, to be applied one per cell. * * <p><b>This is NOT part of any supported API. * If you write code that depends on this, you do so at your own risk. * This code and its internal interfaces are subject to change or * deletion without notice.</b> */ public class TableHeader { /** * The content to be put in each of the {@code <th>} cells in the header row. */ private final List<Content> cellContents; /** * The style class names for each of the {@code <th>} cells in the header row. * If not set, default style names will be used. */ private List<HtmlStyle> styles; /** * Creates a header row, with localized content for each cell. * Resources keys will be converted to content using {@link Contents#getContent(String)}. * @param contents a factory to get the content for each header cell. * @param colHeaderKeys the resource keys for the content in each cell. */ public TableHeader(Contents contents, String... colHeaderKeys) { this.cellContents = Arrays.stream(colHeaderKeys) .map((key) -> contents.getContent(key)) .collect(Collectors.toList()); } /** * Creates a header row, with specified content for each cell. * @param headerCellContents a content object for each header cell */ public TableHeader(Content... headerCellContents) { this.cellContents = Arrays.asList(headerCellContents); } /** * Creates a header row, with specified content for each cell. * @param headerCellContents a content object for each header cell */ public TableHeader(List<Content> headerCellContents) { this.cellContents = headerCellContents; } /** * Set the style class names for each header cell. * The number of names must match the number of cells given to the constructor. * @param styles the style class names * @return this object */ public TableHeader styles(HtmlStyle... styles) { if (styles.length != cellContents.size()) { throw new IllegalStateException(); } this.styles = Arrays.asList(styles); return this; } /** * Set the style class names for each header cell. * The number of names must match the number of cells given to the constructor. * @param styles the style class names * @return this object */ public TableHeader styles(List<HtmlStyle> styles) { if (styles.size() != cellContents.size()) { throw new IllegalStateException(); } this.styles = styles; return this; } /** * Converts this header to a {@link Content} object, for use in an {@link HtmlTree}. * @return a Content object */ public Content toContent() { String scope = "col"; Content tr = new HtmlTree(HtmlTag.TR); int i = 0; for (Content cellContent : cellContents) { HtmlStyle style = (styles != null) ? styles.get(i) : (i == 0) ? HtmlStyle.colFirst : (i == (cellContents.size() - 1)) ? HtmlStyle.colLast : (i == 1) ? HtmlStyle.colSecond : null; Content cell = (style == null) ? HtmlTree.TH(scope, cellContent) : HtmlTree.TH(style, scope, cellContent); tr.addContent(cell); i++; } return tr; } }
⏎ jdk/javadoc/internal/doclets/formats/html/markup/TableHeader.java
Or download all of them as a single archive file:
File name: jdk.javadoc-11.0.1-src.zip File size: 680806 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.jcmd.jmod - JCmd Tool
2020-07-22, 76281👍, 0💬
Popular Posts:
JDK 11 jdk.crypto.ec.jmod is the JMOD file for JDK 11 Crypto EC module. JDK 11 Crypto EC module comp...
Java Cryptography Extension 1.6 JAR File Size and Download Location: File name: jce.jar, jce-1.6.jar...
What Is poi-scratchpad-3.5.jar? poi-scratchpad-3.5.jar is one of the JAR files for Apache POI 3.5, w...
JDK 11 jdk.dynalink.jmod is the JMOD file for JDK 11 Dynamic Linking module. JDK 11 Dynamic Linking ...
The Web Services Description Language for Java Toolkit (WSDL4J), Release 1.6.2, allows the creation,...