| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | deleteRule(int
The index within the media block's rule collection of
the rule to remove. index)Implements org. Used to delete a rule from the media block. |
| pack-priv static native void | |
| public CSSRuleList | getCssRules()
Implements org. A list of all CSS rules contained within the media block. |
| pack-priv static native long | |
| pack-priv static CSSMediaRule | |
| public MediaList | |
| 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 media block's rule collection of
the rule before which to insert the specified rule. If the
specified index is equal to the length of the media blocks's rule
collection, the rule will be added to the end of the media block. index)Implements org. Used to insert a new rule into the media block. |
| pack-priv static native int |
| CSSMediaRuleImpl | back to summary |
|---|---|
| pack-priv CSSMediaRuleImpl(long peer) | |
| deleteRule | back to summary |
|---|---|
| public void deleteRule(int index) throws DOMException Implements org. Doc from org. Used to delete a rule from the media block.
| |
| 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. A list of all CSS rules contained within the media block. | |
| getCssRulesImpl | back to summary |
|---|---|
| pack-priv static native long getCssRulesImpl(long peer) | |
| getImpl | back to summary |
|---|---|
| pack-priv static CSSMediaRule getImpl(long peer) | |
| getMedia | back to summary |
|---|---|
| public MediaList getMedia() Implements org. Doc from org. A list of media types for this rule. | |
| getMediaImpl | back to summary |
|---|---|
| pack-priv static native long getMediaImpl(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 media block.
| |
| insertRuleImpl | back to summary |
|---|---|
| pack-priv static native int insertRuleImpl(long peer, String rule, int index) | |