public class DomTableBuilder extends DomElementBuilderBase<TableBuilder,TableElement> implements TableBuilder
TableBuilder
.UNSUPPORTED_HTML
Modifier and Type | Method and Description |
---|---|
TableBuilder |
border(int border)
The width of the border around the table.
|
TableBuilder |
cellPadding(int cellPadding)
Specifies the horizontal and vertical space between cell content and cell
borders.
|
TableBuilder |
cellSpacing(int cellSpacing)
Specifies the horizontal and vertical separation between cells.
|
TableBuilder |
frame(String frame)
Specifies which external table borders to render.
|
TableBuilder |
html(SafeHtml html)
Append html within the node.
|
TableBuilder |
rules(String rules)
Specifies which internal table borders to render.
|
TableBuilder |
text(String text)
Append text within the node.
|
TableBuilder |
width(String width)
Specifies the desired table width.
|
assertCanAddAttribute, attribute, attribute, className, dir, draggable, id, lang, startAnchor, startArea, startAudio, startBase, startBlockQuote, startBody, startBR, startButtonInput, startCanvas, startCheckboxInput, startCol, startColGroup, startDiv, startDList, startFieldSet, startFileInput, startForm, startFrame, startFrameSet, startH1, startH2, startH3, startH4, startH5, startH6, startHead, startHiddenInput, startHR, startIFrame, startImage, startImageInput, startLabel, startLegend, startLI, startLink, startMap, startMeta, startOList, startOptGroup, startOption, startParagraph, startParam, startPasswordInput, startPre, startPushButton, startQuote, startRadioInput, startResetButton, startResetInput, startScript, startSelect, startSource, startSpan, startStyle, startSubmitButton, startSubmitInput, startTable, startTableCaption, startTBody, startTD, startTextArea, startTextInput, startTFoot, startTH, startTHead, startTR, startUList, startVideo, tabIndex, title, trustedStart
end, end, endAnchor, endArea, endAudio, endBase, endBlockQuote, endBody, endBR, endButton, endCanvas, endCol, endColGroup, endDiv, endDList, endFieldSet, endForm, endFrame, endFrameSet, endH1, endH2, endH3, endH4, endH5, endH6, endHead, endHR, endIFrame, endImage, endInput, endLabel, endLegend, endLI, endLink, endMap, endMeta, endOList, endOptGroup, endOption, endParagraph, endParam, endPre, endQuote, endScript, endSelect, endSource, endSpan, endStyle, endTable, endTableCaption, endTBody, endTD, endTextArea, endTFoot, endTH, endTHead, endTR, endUList, endVideo, finish, getDepth, getReturnBuilder, isChildElementSupported, isEndTagForbidden, style
attribute, attribute, className, dir, draggable, end, end, endAnchor, endArea, endAudio, endBase, endBlockQuote, endBody, endBR, endButton, endCanvas, endCol, endColGroup, endDiv, endDList, endFieldSet, endForm, endFrame, endFrameSet, endH1, endH2, endH3, endH4, endH5, endH6, endHead, endHR, endIFrame, endImage, endInput, endLabel, endLegend, endLI, endLink, endMap, endMeta, endOList, endOptGroup, endOption, endParagraph, endParam, endPre, endQuote, endScript, endSelect, endSource, endSpan, endStyle, endTable, endTableCaption, endTBody, endTD, endTextArea, endTFoot, endTH, endTHead, endTR, endUList, endVideo, finish, getDepth, id, isChildElementSupported, isEndTagForbidden, lang, startAnchor, startArea, startAudio, startBase, startBlockQuote, startBody, startBR, startButtonInput, startCanvas, startCheckboxInput, startCol, startColGroup, startDiv, startDList, startFieldSet, startFileInput, startForm, startFrame, startFrameSet, startH1, startH2, startH3, startH4, startH5, startH6, startHead, startHiddenInput, startHR, startIFrame, startImage, startImageInput, startLabel, startLegend, startLI, startLink, startMap, startMeta, startOList, startOptGroup, startOption, startParagraph, startParam, startPasswordInput, startPre, startPushButton, startQuote, startRadioInput, startResetButton, startResetInput, startScript, startSelect, startSource, startSpan, startStyle, startSubmitButton, startSubmitInput, startTable, startTableCaption, startTBody, startTD, startTextArea, startTextInput, startTFoot, startTH, startTHead, startTR, startUList, startVideo, style, tabIndex, title, trustedStart
public TableBuilder border(int border)
TableBuilder
border
in interface TableBuilder
public TableBuilder cellPadding(int cellPadding)
TableBuilder
cellPadding
in interface TableBuilder
public TableBuilder cellSpacing(int cellSpacing)
TableBuilder
cellSpacing
in interface TableBuilder
public TableBuilder frame(String frame)
TableBuilder
frame
in interface TableBuilder
public TableBuilder html(SafeHtml html)
ElementBuilderBase
Once you append HTML to the element, you can no longer set attributes.
html
in interface ElementBuilderBase<TableBuilder>
html
in class AbstractElementBuilderBase<TableBuilder>
html
- the HTML to appendpublic TableBuilder rules(String rules)
TableBuilder
rules
in interface TableBuilder
public TableBuilder text(String text)
ElementBuilderBase
Once you append text to the element, you can no longer set attributes.
A string-based implementation will escape the text to prevent HTML/javascript code from executing. DOM based implementations are not required to escape the text if they directly set the innerText of an element.
text
in interface ElementBuilderBase<TableBuilder>
text
in class AbstractElementBuilderBase<TableBuilder>
text
- the text to appendpublic TableBuilder width(String width)
TableBuilder
width
in interface TableBuilder
Copyright © 2018. All rights reserved.