Interface CSSExpressionValue

All Superinterfaces:
Cloneable, CSSPrimitiveValue, CSSTypedValue, CSSValue
All Known Implementing Classes:
CalcValue, ExpressionValue

public interface CSSExpressionValue extends CSSTypedValue
A primitive value containing an expression (like calc()).
  • Method Details

    • getExpression

      CSSExpression getExpression()
      Get the root expression corresponding to this calc() value.
      the expression.
    • computeUnitType

      short computeUnitType()
      Performs a dimensional analysis of this expression and computes the unit type of the result.
      the unit type of the result, as in CSSUnit.
    • clone

      Description copied from interface: CSSValue
      Creates and returns a copy of this value.
      Specified by:
      clone in interface CSSValue
      a clone of this value.