Class MediaQueryExpression


  • public class MediaQueryExpression
    extends java.lang.Object
    Media query expression descriptor.
    • Constructor Summary

      Constructors 
      Constructor Description
      MediaQueryExpression​(java.lang.Number value, java.lang.String unit, java.lang.String feature, SourceRange valueRange, java.lang.Number computedLength)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Number getComputedLength()
      Computed length of media query expression (if applicable).
      java.lang.String getFeature()
      Media query expression feature.
      java.lang.String getUnit()
      Media query expression units.
      java.lang.Number getValue()
      Media query expression value.
      SourceRange getValueRange()
      The associated range of the value text in the enclosing stylesheet (if available).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MediaQueryExpression

        public MediaQueryExpression​(java.lang.Number value,
                                    java.lang.String unit,
                                    java.lang.String feature,
                                    SourceRange valueRange,
                                    java.lang.Number computedLength)
    • Method Detail

      • getValue

        public java.lang.Number getValue()
        Media query expression value.
      • getUnit

        public java.lang.String getUnit()
        Media query expression units.
      • getFeature

        public java.lang.String getFeature()
        Media query expression feature.
      • getValueRange

        public SourceRange getValueRange()
        The associated range of the value text in the enclosing stylesheet (if available).
      • getComputedLength

        public java.lang.Number getComputedLength()
        Computed length of media query expression (if applicable).