Package | Description |
---|---|
com.google.gwt.dom.client |
Classes for low-level DOM programming.
|
Modifier and Type | Method and Description |
---|---|
static StyleElement |
StyleElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
StyleElement |
Document.createStyleElement()
Creates a <style> element.
|
static StyleElement |
StyleInjector.injectStylesheet(java.lang.String contents)
Add a stylesheet to the document.
|
StyleElement |
StyleInjector.StyleInjectorImpl.injectStyleSheet(java.lang.String contents) |
StyleElement |
StyleInjector.StyleInjectorImplIE.injectStyleSheet(java.lang.String contents) |
static StyleElement |
StyleInjector.injectStylesheetAtEnd(java.lang.String contents)
Add stylesheet data to the document as though it were declared after all
stylesheets previously created by
StyleInjector.injectStylesheet(String) . |
StyleElement |
StyleInjector.StyleInjectorImpl.injectStyleSheetAtEnd(java.lang.String contents) |
StyleElement |
StyleInjector.StyleInjectorImplIE.injectStyleSheetAtEnd(java.lang.String contents) |
static StyleElement |
StyleInjector.injectStylesheetAtStart(java.lang.String contents)
Add stylesheet data to the document as though it were declared before any
stylesheet previously created by
StyleInjector.injectStylesheet(String) . |
StyleElement |
StyleInjector.StyleInjectorImpl.injectStyleSheetAtStart(java.lang.String contents) |
StyleElement |
StyleInjector.StyleInjectorImplIE.injectStyleSheetAtStart(java.lang.String contents) |
Modifier and Type | Method and Description |
---|---|
void |
StyleInjector.StyleInjectorImplIE.appendContents(StyleElement style,
java.lang.String contents) |
void |
StyleInjector.StyleInjectorImplIE.prependContents(StyleElement style,
java.lang.String contents) |
static void |
StyleInjector.setContents(StyleElement style,
java.lang.String contents)
Replace the contents of a previously-injected stylesheet.
|
void |
StyleInjector.StyleInjectorImpl.setContents(StyleElement style,
java.lang.String contents) |