Package org.loboevolution.css
Interface CSSStyleSheet
- All Superinterfaces:
StyleSheet
- All Known Implementing Classes:
CSSStyleSheetImpl
A style sheet.
This extension to the W3C interface adds utility as well as factory methods. The
factory methods create rules that have the same origin specificity as this style sheet.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteRule
(int index) getCssRules.getCssRules.getOwnerRule.long
insertRule
(String rule, int index) getCssRules.Methods inherited from interface org.loboevolution.css.StyleSheet
getDisabled, getHref, getMedia, getOwnerNode, getType, parentStyleSheet
-
Method Details
-
getOwnerRule
CSSRule getOwnerRule()getOwnerRule.
- Returns:
- a
CSSRule
object.
-
getCssRules
CSSRuleList getCssRules()getCssRules.
- Returns:
- a
CSSRuleList
object.
-
insertRule
getCssRules.
-
deleteRule
void deleteRule(int index) getCssRules.
- Parameters:
index
- aInteger
object.
-