-
public final class MediaQueryExpressionMedia query expression descriptor.
-
-
Field Summary
Fields Modifier and Type Field Description private final Doublevalueprivate final Stringunitprivate final Stringfeatureprivate final SourceRangevalueRangeprivate final DoublecomputedLength
-
Constructor Summary
Constructors Constructor Description MediaQueryExpression(Double value, String unit, String feature, SourceRange valueRange, Double computedLength)
-
Method Summary
Modifier and Type Method Description final Doublecomponent1()final Stringcomponent2()final Stringcomponent3()final SourceRangecomponent4()final Doublecomponent5()final MediaQueryExpressioncopy(Double value, String unit, String feature, SourceRange valueRange, Double computedLength)final DoublegetValue()Media query expression value. final StringgetUnit()Media query expression units. final StringgetFeature()Media query expression feature. final SourceRangegetValueRange()The associated range of the value text in the enclosing stylesheet (if available). final DoublegetComputedLength()Computed length of media query expression (if applicable). -
-
Constructor Detail
-
MediaQueryExpression
MediaQueryExpression(Double value, String unit, String feature, SourceRange valueRange, Double computedLength)
-
-
Method Detail
-
component1
final Double component1()
-
component2
final String component2()
-
component3
final String component3()
-
component4
final SourceRange component4()
-
component5
final Double component5()
-
copy
final MediaQueryExpression copy(Double value, String unit, String feature, SourceRange valueRange, Double computedLength)
-
getFeature
final String getFeature()
Media query expression feature.
-
getValueRange
final SourceRange getValueRange()
The associated range of the value text in the enclosing stylesheet (if available).
-
getComputedLength
final Double getComputedLength()
Computed length of media query expression (if applicable).
-
-
-
-