|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Stores a Style Sheet Element in the DOM tree
Method Summary | |
IStyleRule |
addRule(java.lang.String selector,
java.lang.String cssText)
Creates a new rule and adds it to the stylesheet. |
IStyleRule |
getRule(int pos)
Gets the rule at position pos |
boolean |
isDisabled()
Gets if the current styleSheet is disabled. |
int |
rulesLength()
Retruns the number of rules in this styleSheet |
void |
setDisabled(boolean disable)
Set whether to disable this stylesheet |
Method Detail |
public IStyleRule getRule(int pos)
public int rulesLength()
public void setDisabled(boolean disable)
disable
- true to disable, false to enablepublic boolean isDisabled()
public IStyleRule addRule(java.lang.String selector, java.lang.String cssText)
selector
- The selector text for this rulecssText
- The css text for this rule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |