public class MediaQuery extends LocatableImpl implements CSSFormatable, Serializable
| Constructor and Description |
|---|
MediaQuery(String media) |
MediaQuery(String media,
boolean isOnly,
boolean isNot) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMediaProperty(Property mp) |
String |
getCssText(CSSFormat format)
Returns a string representation of the rule based on the given format.
|
String |
getMedia() |
List<Property> |
getProperties() |
boolean |
isNot() |
boolean |
isOnly() |
void |
setMedia(String media) |
String |
toString() |
getLocator, setLocatorpublic MediaQuery(String media)
public MediaQuery(String media, boolean isOnly, boolean isNot)
public String getMedia()
public void setMedia(String media)
public void addMediaProperty(Property mp)
public boolean isOnly()
public boolean isNot()
public String getCssText(CSSFormat format)
getCssText in interface CSSFormatableformat - the formatting rulesCopyright © 1999–2022. All rights reserved.