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.
|
java.lang.String |
toString(CSSEngine eng)
Returns a printable representation of this media rule.
|
append, clear, getMedia, getParent, getRule, getSize, getTitle, isAlternate, setAlternate, setMedia, setParent, setTitlepublic static final short TYPE
protected SACMediaList mediaList
public short getType()
public void setMediaList(SACMediaList ml)
public SACMediaList getMediaList()
public java.lang.String toString(CSSEngine eng)
toString in interface RuletoString in class StyleSheetCopyright ? 2009 Apache Software Foundation. All Rights Reserved.