- All Superinterfaces:
Cloneable
,CSSFunctionValue
,CSSMathValue
,CSSPrimitiveValue
,CSSTypedValue
,CSSValue
- All Known Implementing Classes:
MathFunctionValue
A mathematical function value.
- See Also:
-
Nested Class Summary
Nested ClassesNested 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.Deprecated.seegetFunctionIndex()
.int
Gives the index of this mathematical function, according toMathFunctions
.Methods inherited from interface io.sf.carte.doc.style.css.CSSFunctionValue
getArguments, getFunctionName
Methods inherited from interface io.sf.carte.doc.style.css.CSSMathValue
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, 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
-
getFunction
Deprecated.seegetFunctionIndex()
.Get the function type.- Returns:
- the function type.
-
getFunctionIndex
int getFunctionIndex()Gives the index of this mathematical function, according toMathFunctions
.- Returns:
- the function index.
-
computeUnitType
short computeUnitType()Performs a dimensional analysis of this function and computes the unit type of the result.- Specified by:
computeUnitType
in interfaceCSSMathValue
- 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 interfaceCSSTypedValue
- Specified by:
clone
in interfaceCSSValue
- Returns:
- a clone of this value.
-
MathFunctions
.