public class MediaSpecType extends MediaSpec
screen media, it matches
both screen AND (min-width: 1000px) and screen AND (max-width: 999px).MediaSpec.Featurecolor, colorIndex, deviceHeight, deviceWidth, dpi, em, ex, featureMap, grid, height, monochrome, resolution, scanInterlace, type, width| Constructor and Description |
|---|
MediaSpecType(String type)
Creates a new media specification that matches all media queries with the given media type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(MediaExpression e)
Checks if this media specification matches a given media query expression.
|
String |
toString() |
dpiResolution, getAspectRatio, getColor, getColorIndex, getDeviceAspectRation, getDeviceHeight, getDeviceWidth, getExpressionIdentifier, getExpressionInteger, getExpressionLengthPx, getExpressionRatio, getExpressionResolution, getFeatureByName, getGrid, getHeight, getMonochrome, getResolution, getType, getWidth, isPortrait, isScanInterlace, loadDefaults, matches, matchesEmpty, matchesOneOf, pxLength, setColor, setColorIndex, setDeviceDimensions, setDeviceHeight, setDeviceWidth, setDimensions, setGrid, setHeight, setMonochrome, setResolution, setScanInterlace, setWidth, valueMatches, valueMatchespublic MediaSpecType(String type)
type - public boolean matches(MediaExpression e)
MediaSpecCopyright © 2019. All rights reserved.