public class Media extends Directive
| Constructor and Description |
|---|
Media(HiddenTokenAwareTree token) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMediaQuery(MediaQuery medium) |
boolean |
bubleUpWithoutChanges() |
Media |
clone() |
GeneralBody |
getBody() |
List<ASTCssNode> |
getChilds()
WARNING: it is up to the programmer to keep parent and childs getters and
setters consistent.
|
List<MediaQuery> |
getMediums() |
ASTCssNodeType |
getType() |
void |
replaceMediaQueries(List<MediaQuery> result) |
void |
setBody(GeneralBody body) |
void |
setMediums(List<MediaQuery> mediums) |
addOpeningComments, addTrailingComment, addTrailingComments, configureParentToAllChilds, getOpeningComments, getOrphanComments, getParent, getSource, getSourceColumn, getSourceLine, getTrailingComments, getUnderlyingStructure, hasParent, isFaulty, isSilent, setOpeningComments, setOrphanComments, setParent, setSilent, setTrailingComments, setUnderlyingStructure, toStringpublic Media(HiddenTokenAwareTree token)
public void addMediaQuery(MediaQuery medium)
public List<MediaQuery> getMediums()
public void setMediums(List<MediaQuery> mediums)
public void replaceMediaQueries(List<MediaQuery> result)
public boolean bubleUpWithoutChanges()
bubleUpWithoutChanges in class Directive@NotAstProperty public List<ASTCssNode> getChilds()
ASTCssNodegetChilds in class ASTCssNodepublic ASTCssNodeType getType()
getType in class ASTCssNodepublic Media clone()
clone in interface BodyOwner<GeneralBody>clone in interface PubliclyCloneableclone in class Directivepublic void setBody(GeneralBody body)
public GeneralBody getBody()
Copyright © 2012-2015. All Rights Reserved.