|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStyleSheet
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 |
---|
IStyleRule getRule(int pos)
int rulesLength()
void setDisabled(boolean disable)
disable
- true to disable, false to enableboolean isDisabled()
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 |