- All Superinterfaces:
Cloneable
,CSSMathValue
,CSSPrimitiveValue
,CSSTypedValue
,CSSValue
- All Known Implementing Classes:
CalcValue
,ExpressionValue
A primitive value containing an expression (like
calc()
).-
Nested Class Summary
Nested classes/interfaces inherited from interface io.sf.carte.doc.style.css.CSSValue
CSSValue.CssType, CSSValue.Type
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this value.Get the root expression corresponding to thiscalc()
value.Methods inherited from interface io.sf.carte.doc.style.css.CSSMathValue
computeUnitType, isExpectingInteger
Methods inherited from interface io.sf.carte.doc.style.css.CSSPrimitiveValue
getUnitType, isNegativeNumber, isPrimitiveValue, setExpectInteger
Methods inherited from interface io.sf.carte.doc.style.css.CSSTypedValue
getFloatValue, getStringValue, isCalculatedNumber, isNumberZero, setFloatValue, setStringValue, toRGBColor, toRGBColorValue
Methods inherited from interface io.sf.carte.doc.style.css.CSSValue
getCssText, getCssValueType, getMinifiedCssText, getMinifiedCssText, getPrimitiveType, matches, setCssText, writeCssText
-
Method Details
-
getExpression
CSSExpression getExpression()Get the root expression corresponding to thiscalc()
value.- Returns:
- the expression.
-
clone
CSSExpressionValue clone()Description copied from interface:CSSValue
Creates and returns a copy of this value.- Specified by:
clone
in interfaceCSSTypedValue
- Specified by:
clone
in interfaceCSSValue
- Returns:
- a clone of this value.
-