public interface StyleBuilder extends ElementBuilderBase<StyleBuilder>
Modifier and Type | Field and Description |
---|---|
static String |
UNSUPPORTED_HTML |
Modifier and Type | Method and Description |
---|---|
StyleBuilder |
cssText(String cssText)
Sets the CSS text.
|
StyleBuilder |
disabled()
Disable the style sheet.
|
StyleBuilder |
html(SafeHtml html)
Throws
UnsupportedOperationException . |
StyleBuilder |
media(String media)
Designed for use with one or more target media.
|
StyleBuilder |
text(String text)
Throws
UnsupportedOperationException . |
StyleBuilder |
type(String type)
The content type of the style sheet language.
|
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
static final String UNSUPPORTED_HTML
StyleBuilder cssText(String cssText)
StyleBuilder disabled()
StyleBuilder html(SafeHtml html)
UnsupportedOperationException
.
Style elements do not support html. Use cssText(String)
instead.
html
in interface ElementBuilderBase<StyleBuilder>
html
- the HTML to appendUnsupportedOperationException
StyleBuilder media(String media)
StyleBuilder text(String text)
UnsupportedOperationException
.
Style elements do not support text. Use cssText(String)
instead.
text
in interface ElementBuilderBase<StyleBuilder>
text
- the text to appendUnsupportedOperationException
StyleBuilder type(String type)
Copyright © 2018. All rights reserved.