| Package | Description |
|---|---|
| com.helger.css.decl | |
| com.helger.css.tools |
| Modifier and Type | Method and Description |
|---|---|
CSSMediaQuery |
CSSMediaQuery.addMediaExpression(CSSMediaExpression aMediaExpression)
Append a media expression to the list.
|
CSSMediaQuery |
CSSMediaQuery.addMediaExpression(int nIndex,
CSSMediaExpression aMediaExpression)
Add a media expression to the list at the specified index.
|
CSSMediaQuery |
CSSMediaRule.getMediaQueryAtIndex(int nMediumIndex)
Get the media query at the specified index or
null. |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsList<CSSMediaQuery> |
CSSMediaRule.getAllMediaQueries() |
com.helger.commons.collection.impl.ICommonsList<CSSMediaQuery> |
CSSImportRule.getAllMediaQueries() |
| Modifier and Type | Method and Description |
|---|---|
CSSMediaRule |
CSSMediaRule.addMediaQuery(CSSMediaQuery aMediaQuery)
Add a new media query.
|
CSSImportRule |
CSSImportRule.addMediaQuery(CSSMediaQuery aMediaQuery)
Add a media query at the end of the list.
|
CSSMediaRule |
CSSMediaRule.addMediaQuery(int nIndex,
CSSMediaQuery aMediaQuery)
Add a media query at the specified index.
|
CSSImportRule |
CSSImportRule.addMediaQuery(int nIndex,
CSSMediaQuery aMediaQuery)
Add a media query at the specified index of the list.
|
com.helger.commons.state.EChange |
CSSMediaRule.removeMediaQuery(CSSMediaQuery aMediaQuery)
Remove the provided media query.
|
com.helger.commons.state.EChange |
CSSImportRule.removeMediaQuery(CSSMediaQuery aMediaQuery)
Remove the specified media query.
|
| Modifier and Type | Method and Description |
|---|---|
static com.helger.commons.collection.impl.ICommonsList<CSSMediaQuery> |
MediaQueryTools.parseToMediaQuery(String sMediaQuery,
ECSSVersion eVersion)
Utility method to convert a media query string to a structured list of
CSSMediaQuery objects. |
| Modifier and Type | Method and Description |
|---|---|
static CascadingStyleSheet |
MediaQueryTools.getWrappedInMediaQuery(CascadingStyleSheet aCSS,
CSSMediaQuery aMediaQuery,
boolean bAllowNestedMediaQueries)
Get the CSS wrapped in the specified media query.
|
| Modifier and Type | Method and Description |
|---|---|
static CascadingStyleSheet |
MediaQueryTools.getWrappedInMediaQuery(CascadingStyleSheet aCSS,
Iterable<? extends CSSMediaQuery> aMediaQueries,
boolean bAllowNestedMediaQueries)
Get the CSS wrapped in the specified media query.
|
Copyright © 2014–2018 Philip Helger. All rights reserved.