| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| pack-priv static native int | |
| public void | deleteRule(int
The index within the style sheet's rule list of the rule
to remove. index)Implements org. Used to delete a rule from the style sheet. |
| pack-priv static native void | |
| public CSSRuleList | getCssRules()
Implements org. The list of all CSS rules contained within the style sheet. |
| pack-priv static native long | |
| pack-priv static CSSStyleSheet | |
| public CSSRule | getOwnerRule()
Implements org. If this style sheet comes from an |
| pack-priv static native long | |
| public CSSRuleList | |
| pack-priv static native long | |
| public int | insertRule(String
The parsable text representing the rule. For rule sets
this contains both the selector and the style declaration. For
at-rules, this specifies both the at-identifier and the rule
content. rule, int The index within the style sheet's rule list of the rule
before which to insert the specified rule. If the specified index
is equal to the length of the style sheet's rule collection, the
rule will be added to the end of the style sheet. index)Implements org. Used to insert a new rule into the style sheet. |
| pack-priv static native int | |
| public void | |
| pack-priv static native void |
| CSSStyleSheetImpl | back to summary |
|---|---|
| pack-priv CSSStyleSheetImpl(long peer) | |
| addRule | back to summary |
|---|---|
| public int addRule(String selector, String style, int index) throws DOMException | |
| addRuleImpl | back to summary |
|---|---|
| pack-priv static native int addRuleImpl(long peer, String selector, String style, int index) | |
| deleteRule | back to summary |
|---|---|
| public void deleteRule(int index) throws DOMException Implements org. Doc from org. Used to delete a rule from the style sheet.
| |
| deleteRuleImpl | back to summary |
|---|---|
| pack-priv static native void deleteRuleImpl(long peer, int index) | |
| getCssRules | back to summary |
|---|---|
| public CSSRuleList getCssRules() Implements org. Doc from org. The list of all CSS rules contained within the style sheet. This includes both rule sets and at-rules. | |
| getCssRulesImpl | back to summary |
|---|---|
| pack-priv static native long getCssRulesImpl(long peer) | |
| getImpl | back to summary |
|---|---|
| pack-priv static CSSStyleSheet getImpl(long peer) | |
| getOwnerRule | back to summary |
|---|---|
| public CSSRule getOwnerRule() Implements org. Doc from org. If this style sheet comes from an | |
| getOwnerRuleImpl | back to summary |
|---|---|
| pack-priv static native long getOwnerRuleImpl(long peer) | |
| getRules | back to summary |
|---|---|
| public CSSRuleList getRules() | |
| getRulesImpl | back to summary |
|---|---|
| pack-priv static native long getRulesImpl(long peer) | |
| insertRule | back to summary |
|---|---|
| public int insertRule(String rule, int index) throws DOMException Implements org. Doc from org. Used to insert a new rule into the style sheet. The new rule now becomes part of the cascade.
| |
| insertRuleImpl | back to summary |
|---|---|
| pack-priv static native int insertRuleImpl(long peer, String rule, int index) | |
| removeRule | back to summary |
|---|---|
| public void removeRule(int index) throws DOMException | |
| removeRuleImpl | back to summary |
|---|---|
| pack-priv static native void removeRuleImpl(long peer, int index) | |