- All Superinterfaces:
Cloneable
,CSSFunctionValue
,CSSPrimitiveValue
,CSSTypedValue
,CSSValue
A mathematical function value.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Enumeration of mathematical functions.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.short
Performs a dimensional analysis of this function and computes the unit type of the result.Get the function type.Methods inherited from interface io.sf.carte.doc.style.css.CSSFunctionValue
getArguments, getFunctionName
Methods inherited from interface io.sf.carte.doc.style.css.CSSPrimitiveValue
getUnitType, isNegativeNumber, 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, getPrimitiveType, matches, setCssText, writeCssText
-
Method Details
-
getFunction
CSSMathFunctionValue.MathFunction getFunction()Get the function type.- Returns:
- the function type.
-
computeUnitType
short computeUnitType()Performs a dimensional analysis of this function and computes the unit type of the result.- Returns:
- the unit type of the result, as in
CSSUnit
.
-
clone
CSSMathFunctionValue clone()Description copied from interface:CSSValue
Creates and returns a copy of this value.- Specified by:
clone
in interfaceCSSFunctionValue
- Specified by:
clone
in interfaceCSSValue
- Returns:
- a clone of this value.
-