public class MediaRule extends StyleSheet implements Rule
Modifier and Type | Field and Description |
---|---|
protected org.w3c.css.sac.SACMediaList |
mediaList
The media list.
|
static short |
TYPE
The type constant.
|
Constructor and Description |
---|
MediaRule() |
Modifier and Type | Method and Description |
---|---|
org.w3c.css.sac.SACMediaList |
getMediaList()
Returns the media list.
|
short |
getType()
Returns a constant identifying the rule type.
|
void |
setMediaList(org.w3c.css.sac.SACMediaList ml)
Sets the media list.
|
String |
toString(CSSEngine eng)
Returns a printable representation of this media rule.
|
append, clear, getMedia, getParent, getRule, getSize, getTitle, isAlternate, setAlternate, setMedia, setParent, setTitle
public static final short TYPE
protected org.w3c.css.sac.SACMediaList mediaList
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.