|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.util.CSS
public class CSS
Provides functions for removing and adding stylesheets.
Constructor Summary | |
---|---|
CSS()
|
Method Summary | |
---|---|
static void |
addStyleSheet(java.lang.String id,
java.lang.String url)
Adds a stylesheet to the document. |
static void |
removeStyleSheet(java.lang.String id)
Removes a style or link tag by id. |
static void |
setRules(com.google.gwt.user.client.Element style,
java.lang.String cssStr)
Adds a rules string in a <dstyle><d/style> element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSS()
Method Detail |
---|
public static void removeStyleSheet(java.lang.String id)
id
- the id of the tagpublic static void addStyleSheet(java.lang.String id, java.lang.String url)
id
- the idurl
- the stylesheet urlpublic static void setRules(com.google.gwt.user.client.Element style, java.lang.String cssStr)
<dstyle><d/style>
element.
style
- the <dstyle><d/style>
elementcssStr
- the rules string
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |