Package org.loboevolution.html.js.css
Class CSSStyleSheetImpl
java.lang.Object
org.loboevolution.html.js.css.StyleSheetImpl
org.loboevolution.html.js.css.CSSStyleSheetImpl
- All Implemented Interfaces:
CSSStyleSheet
,StyleSheet
CSSStyleSheetImpl class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteRule
(int index) getCssRules.getCssRules.getOwnerRule.long
insertRule
(String rule, int index) getCssRules.void
setDisabled
(boolean disabled) toString()
Methods inherited from class org.loboevolution.html.js.css.StyleSheetImpl
getDisabled, getHref, getMedia, getType, parentStyleSheet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.loboevolution.css.StyleSheet
getDisabled, getHref, getMedia, getOwnerNode, getType, parentStyleSheet
-
Constructor Details
-
CSSStyleSheetImpl
-
-
Method Details
-
getOwnerRule
getOwnerRule.
- Specified by:
getOwnerRule
in interfaceCSSStyleSheet
- Returns:
- a
CSSRule
object.
-
getCssRules
getCssRules.
- Specified by:
getCssRules
in interfaceCSSStyleSheet
- Returns:
- a
CSSRuleList
object.
-
insertRule
getCssRules.
- Specified by:
insertRule
in interfaceCSSStyleSheet
- Parameters:
rule
- aString
object.index
- aInteger
object.- Returns:
- a
Long
object.
-
deleteRule
public void deleteRule(int index) getCssRules.
- Specified by:
deleteRule
in interfaceCSSStyleSheet
- Parameters:
index
- aInteger
object.
-
setDisabled
public void setDisabled(boolean disabled) -
toString
- Overrides:
toString
in classStyleSheetImpl
-