| Modifier and Type | Field and Description |
|---|---|
| pack-priv static BiFunction | |
| pack-priv static Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static MediaQuery | booleanPreferenceExpression(String featureName, Token featureValue, String trueValue, Function<MediaQueryContext, Boolean> argument)
|
| private static <T> T | |
| public static MediaQuery | Returns: theMediaQuerythe name of the media feature featureName, Token the value of the media feature, or featureValue)null to indicate no valueReturns a |
| private static <T extends Enum | |
| private static String | |
| private static String | |
| public static MediaQuery | Returns: theMediaQuerythe name of the media feature featureName, Token the value of the media feature featureValue, ComparisonOp the comparison operator comparison)Returns a |
| public static MediaQuery | Returns: theMediaQuerythe name of the media feature featureName, Token the first value of the media feature featureValue1, Token the second value of the media feature featureValue2, ComparisonOp the first comparison operator comparison1, ComparisonOp the second comparison operator comparison2)Returns a |
| private static MediaQuery | rangeQueryExpression(SizeQueryType featureType, Token featureValue, RangeExpression.
|
| private static RuntimeException |
| DEFAULT | back to summary |
|---|---|
| pack-priv static BiFunction<String, Token, MediaQuery> DEFAULT | |
| PLATFORMS | back to summary |
|---|---|
| pack-priv static Map<String, BooleanSupplier> PLATFORMS | |
| MediaFeatures | back to summary |
|---|---|
| private MediaFeatures() | |
| booleanPreferenceExpression | back to summary |
|---|---|
| private static MediaQuery booleanPreferenceExpression(String featureName, Token featureValue, String trueValue, Function<MediaQueryContext, Boolean> argument) | |
| checkNotNullValue | back to summary |
|---|---|
| private static <T> T checkNotNullValue(String featureName, T featureValue) | |
| discreteQueryExpression | back to summary |
|---|---|
| public static MediaQuery discreteQueryExpression(String featureName, Token featureValue) Returns a
| |
| enumValue | back to summary |
|---|---|
| private static <T extends Enum | |
| lowerCaseTextValue | back to summary |
|---|---|
| private static String lowerCaseTextValue(String text) | |
| lowerCaseTextValue | back to summary |
|---|---|
| private static String lowerCaseTextValue(Token token) | |
| rangeQueryExpression | back to summary |
|---|---|
| public static MediaQuery rangeQueryExpression(String featureName, Token featureValue, ComparisonOp comparison) Returns a
| |
| rangeQueryExpression | back to summary |
|---|---|
| public static MediaQuery rangeQueryExpression(String featureName, Token featureValue1, Token featureValue2, ComparisonOp comparison1, ComparisonOp comparison2) Returns a
| |
| rangeQueryExpression | back to summary |
|---|---|
| private static MediaQuery rangeQueryExpression(SizeQueryType featureType, Token featureValue, RangeExpression. | |
| unknownValue | back to summary |
|---|---|
| private static RuntimeException unknownValue(String featureName, String featureValue) | |