org.apache.batik.css.engine

Class MediaRule

public class MediaRule extends StyleSheet implements Rule

This class represents a @media CSS rule.
Field Summary
protected SACMediaListmediaList
The media list.
static shortTYPE
The type constant.
Method Summary
SACMediaListgetMediaList()
Returns the media list.
shortgetType()
Returns a constant identifying the rule type.
voidsetMediaList(SACMediaList ml)
Sets the media list.
StringtoString(CSSEngine eng)
Returns a printable representation of this media rule.

Field Detail

mediaList

protected SACMediaList mediaList
The media list.

TYPE

public static final short TYPE
The type constant.

Method Detail

getMediaList

public SACMediaList getMediaList()
Returns the media list.

getType

public short getType()
Returns a constant identifying the rule type.

setMediaList

public void setMediaList(SACMediaList ml)
Sets the media list.

toString

public String toString(CSSEngine eng)
Returns a printable representation of this media rule.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.