public class DomStyleBuilder extends DomElementBuilderBase<StyleBuilder,StyleElement> implements StyleBuilder
StyleBuilder.UNSUPPORTED_HTML| Constructor and Description |
|---|
DomStyleBuilder(DomBuilderImpl delegate) |
| Modifier and Type | Method and Description |
|---|---|
StyleBuilder |
cssText(java.lang.String cssText)
Sets the CSS text.
|
StyleBuilder |
disabled()
Disable the style sheet.
|
StyleBuilder |
html(SafeHtml html)
Append html within the node.
|
boolean |
isChildElementSupported()
Check if child elements are supported.
|
StyleBuilder |
media(java.lang.String media)
Designed for use with one or more target media.
|
StyleBuilder |
text(java.lang.String text)
Append text within the node.
|
StyleBuilder |
type(java.lang.String type)
The content type of the style sheet language.
|
assertCanAddAttribute, attribute, attribute, className, dir, draggable, getDelegate, 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, trustedStartend, 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, isEndTagForbidden, styleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattribute, 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, 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, trustedStartDomStyleBuilder(DomBuilderImpl delegate)
public StyleBuilder cssText(java.lang.String cssText)
StyleBuildercssText in interface StyleBuilderpublic StyleBuilder disabled()
StyleBuilderdisabled in interface StyleBuilderpublic StyleBuilder html(SafeHtml html)
ElementBuilderBaseOnce you append HTML to the element, you can no longer set attributes.
html in interface ElementBuilderBase<StyleBuilder>html in interface StyleBuilderhtml in class AbstractElementBuilderBase<StyleBuilder>html - the HTML to appendpublic boolean isChildElementSupported()
ElementBuilderBaseisChildElementSupported in interface ElementBuilderBase<StyleBuilder>isChildElementSupported in class AbstractElementBuilderBase<StyleBuilder>public StyleBuilder media(java.lang.String media)
StyleBuildermedia in interface StyleBuilderpublic StyleBuilder text(java.lang.String text)
ElementBuilderBaseOnce 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<StyleBuilder>text in interface StyleBuildertext in class AbstractElementBuilderBase<StyleBuilder>text - the text to appendpublic StyleBuilder type(java.lang.String type)
StyleBuildertype in interface StyleBuilder