|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.css.engine.StyleSheet | +--org.apache.batik.css.engine.MediaRule
This class represents a @media CSS rule.
Field Summary | |
protected SACMediaList |
mediaList
The media list. |
static short |
TYPE
The type constant. |
Fields inherited from class org.apache.batik.css.engine.StyleSheet |
alternate, media, parent, rules, size, title |
Constructor Summary | |
MediaRule()
|
Method Summary | |
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. |
Methods inherited from class org.apache.batik.css.engine.StyleSheet |
append, clear, getMedia, getParent, getRule, getSize, getTitle, isAlternate, setAlternate, setMedia, setParent, setTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final short TYPE
protected SACMediaList mediaList
Constructor Detail |
public MediaRule()
Method Detail |
public short getType()
getType
in interface Rule
public void setMediaList(SACMediaList ml)
public SACMediaList getMediaList()
public java.lang.String toString(CSSEngine eng)
toString
in interface Rule
toString
in class StyleSheet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |