|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.widgetideas.styleinjector.client.StyleInjector
public class StyleInjector
Used to add stylesheets to the document.
Method Summary | |
---|---|
static void |
injectStylesheet(java.lang.String contents)
Add a stylesheet to the document. |
static void |
injectStylesheet(java.lang.String contents,
ImmutableResourceBundle references)
Add a stylesheet to the document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void injectStylesheet(java.lang.String contents)
contents
- the CSS contents of the stylesheetpublic static void injectStylesheet(java.lang.String contents, ImmutableResourceBundle references)
%resourceName%
in the stylesheet's contents will be replaced
by the URL of the named DataResource
contained in
references
.
contents
- the CSS contents of the stylesheetreferences
- the resources to substitute into the stylesheet.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |