|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.css.engine.StyleSheet
org.apache.batik.css.engine.MediaRule
public class MediaRule
This class represents a @media CSS rule.
| Field Summary | |
|---|---|
protected org.w3c.css.sac.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 | |
|---|---|
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. |
| 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 org.w3c.css.sac.SACMediaList mediaList
| Constructor Detail |
|---|
public MediaRule()
| Method Detail |
|---|
public short getType()
getType in interface Rulepublic void setMediaList(org.w3c.css.sac.SACMediaList ml)
public org.w3c.css.sac.SACMediaList getMediaList()
public String toString(CSSEngine eng)
toString in interface RuletoString in class StyleSheet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||