| java.lang.Object net.mygwt.ui.client.util.StyleTemplate
StyleTemplate | public class StyleTemplate (Code) | | Sets multiple CSS rules on a style element.
|
Constructor Summary | |
public | StyleTemplate(Element styleElem) Creates a new template. |
Method Summary | |
public void | apply() Applies the rules to the element. | public void | set(String selector, String rule) Sets a new rule. |
StyleTemplate | public StyleTemplate(Element styleElem)(Code) | | Creates a new template.
Parameters: styleElem - the HTML style element |
apply | public void apply()(Code) | | Applies the rules to the element.
|
set | public void set(String selector, String rule)(Code) | | Sets a new rule.
Parameters: selector - the CSS selector Parameters: rule - the rule |
|
|