public class HtmlRow extends HtmlElement
| Constructor and Description |
|---|
HtmlRow()
Constructs this HTML row.
|
HtmlRow(HtmlAttribute... attributes)
Constructs this HTML row from the supplied attributes.
|
| Modifier and Type | Method and Description |
|---|---|
HtmlElement |
addColumn(HtmlAttribute... attributes)
Adds a column (
HtmlTag.TD) with the supplied attributes, to this HTML row. |
HtmlElement |
addColumn(String content,
HtmlAttribute... attributes)
Adds a column (
HtmlTag.TD) with the supplied content and attributes, to this HTML row. |
HtmlElement |
addColumns(String... content)
Adds columns (
HtmlTag.TD) with the supplied content, to this HTML row. |
HtmlElement |
addHeaderColumn(HtmlAttribute... attributes)
Adds a header column (
HtmlTag.TH) with the supplied attributes, to this HTML row. |
HtmlElement |
addHeaderColumn(String content,
HtmlAttribute... attributes)
Adds a header column (
HtmlTag.TH) with the supplied attributes, to this HTML row. |
HtmlElement |
addHeaderColumns(String... content)
Adds header columns (
HtmlTag.TH) with the supplied content, to this HTML row. |
addChild, addContent, findElement, getContent, toFormattedHtml, toHtmlgetName, toStringpublic HtmlRow()
public HtmlRow(HtmlAttribute... attributes)
attributes - The optional attributes of this HTML row.public HtmlElement addColumn(HtmlAttribute... attributes)
HtmlTag.TD) with the supplied attributes, to this HTML row.attributes - The optional attributes of the column to add.public HtmlElement addColumn(String content, HtmlAttribute... attributes)
HtmlTag.TD) with the supplied content and attributes, to this HTML row.content - The content for the column to add.attributes - The optional attributes of the column to add.public HtmlElement addColumns(String... content)
HtmlTag.TD) with the supplied content, to this HTML row.content - The content for the columns to add.public HtmlElement addHeaderColumn(HtmlAttribute... attributes)
HtmlTag.TH) with the supplied attributes, to this HTML row.attributes - The optional attributes of the column header to add.public HtmlElement addHeaderColumn(String content, HtmlAttribute... attributes)
HtmlTag.TH) with the supplied attributes, to this HTML row.content - The content for the column to add.attributes - The optional attributes of the column header to add.public HtmlElement addHeaderColumns(String... content)
HtmlTag.TH) with the supplied content, to this HTML row.content - The content for the columns to add.Copyright © 2008–2017. All rights reserved.