public class MediaRule extends StyleSheet implements Rule
Modifier and Type | Field and Description |
---|---|
protected SACMediaList |
mediaList
The media list.
|
static short |
TYPE
The type constant.
|
Constructor and Description |
---|
MediaRule() |
Modifier and Type | Method and Description |
---|---|
SACMediaList |
getMediaList()
Returns the media list.
|
short |
getType()
Returns a constant identifying the rule type.
|
void |
setMediaList(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 SACMediaList mediaList
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.