|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.dom.builder.shared.AbstractElementBuilderBase<R> com.google.gwt.dom.builder.client.DomElementBuilderBase<StyleBuilder,StyleElement> com.google.gwt.dom.builder.client.DomStyleBuilder
public class DomStyleBuilder
DOM-based implementation of StyleBuilder
.
Field Summary |
---|
Fields inherited from interface com.google.gwt.dom.builder.shared.StyleBuilder |
---|
UNSUPPORTED_HTML |
Constructor Summary | |
---|---|
DomStyleBuilder(DomBuilderImpl delegate)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.google.gwt.dom.builder.shared.AbstractElementBuilderBase |
---|
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, isEndTagForbidden, style |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
DomStyleBuilder(DomBuilderImpl delegate)
Method Detail |
---|
public StyleBuilder cssText(java.lang.String cssText)
StyleBuilder
cssText
in interface StyleBuilder
public StyleBuilder disabled()
StyleBuilder
disabled
in interface StyleBuilder
public StyleBuilder html(SafeHtml html)
ElementBuilderBase
Once you append HTML to the element, you can no longer set attributes.
html
in interface ElementBuilderBase<StyleBuilder>
html
in interface StyleBuilder
html
in class AbstractElementBuilderBase<StyleBuilder>
html
- the HTML to append
public boolean isChildElementSupported()
ElementBuilderBase
isChildElementSupported
in interface ElementBuilderBase<StyleBuilder>
isChildElementSupported
in class AbstractElementBuilderBase<StyleBuilder>
public StyleBuilder media(java.lang.String media)
StyleBuilder
media
in interface StyleBuilder
public StyleBuilder text(java.lang.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<StyleBuilder>
text
in interface StyleBuilder
text
in class AbstractElementBuilderBase<StyleBuilder>
text
- the text to append
public StyleBuilder type(java.lang.String type)
StyleBuilder
type
in interface StyleBuilder
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |