|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.util.StyleTemplate
public class StyleTemplate
Sets multiple CSS rules on a style element.
Constructor Summary | |
---|---|
StyleTemplate(com.google.gwt.user.client.Element styleElem)
Creates a new template. |
Method Summary | |
---|---|
void |
apply()
Applies the rules to the element. |
void |
set(java.lang.String selector,
java.lang.String rule)
Sets a new rule. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StyleTemplate(com.google.gwt.user.client.Element styleElem)
styleElem
- the HTML style elementMethod Detail |
---|
public void set(java.lang.String selector, java.lang.String rule)
selector
- the CSS selectorrule
- the rulepublic void apply()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |