|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StyleBuilder
Builds an style element.
Field Summary | |
---|---|
static java.lang.String |
UNSUPPORTED_HTML
|
Method Summary | |
---|---|
StyleBuilder |
cssText(java.lang.String cssText)
Sets the CSS text. |
StyleBuilder |
disabled()
Disable the style sheet. |
StyleBuilder |
html(SafeHtml html)
Throws UnsupportedOperationException . |
StyleBuilder |
media(java.lang.String media)
Designed for use with one or more target media. |
StyleBuilder |
text(java.lang.String text)
Throws UnsupportedOperationException . |
StyleBuilder |
type(java.lang.String type)
The content type of the style sheet language. |
Field Detail |
---|
static final java.lang.String UNSUPPORTED_HTML
Method Detail |
---|
StyleBuilder cssText(java.lang.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 append
java.lang.UnsupportedOperationException
StyleBuilder media(java.lang.String media)
StyleBuilder text(java.lang.String text)
UnsupportedOperationException
.
Style elements do not support text. Use cssText(String)
instead.
text
in interface ElementBuilderBase<StyleBuilder>
text
- the text to append
java.lang.UnsupportedOperationException
StyleBuilder type(java.lang.String type)
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |