Uses of Class
net.pricefx.server.dto.calculation.AttributedResult
Package
Description
Provides API related to scripting, including interface
PublicGroovyAPI
, that represents what can be reached in the Groovy element syntax as api
.Defines set of data transfer object (DTO) classes related to Calculations.
-
Uses of AttributedResult in net.pricefx.formulaengine.scripting
Modifier and TypeMethodDescriptionPublicGroovyAPI.attributedResult
(Object result) Creates anAttributedResult
object to be returned as a result of an output element. -
Uses of AttributedResult in net.pricefx.server.dto.calculation
Modifier and TypeMethodDescriptionAttributedResult.removeManualOverrideValueOptions()
In case the result element is overridable, this method clears a set (list) of values defined with above withManualOverrideValueOptions method IMPORTANT NOTE: This is implemented only for Pricelists, PriceGrids and CalculationGrids.AttributedResult.withBackgroundColor
(String cssColor) Sets the background color.AttributedResult.withManualOverrideAllowEmpty
(Boolean allow) In case the result element is overridable, this method defines if the selection box shows also the "empty value" option.AttributedResult.withManualOverrideValueOptions
(List<Object> options) In case the result element is overridable, this method defines a set (list) of values that the user can pick from (vs.AttributedResult.withRawCSS
(String css) Adds any valid CSS style to the cell.AttributedResult.withSuffix
(String suffix) Sets a suffix to be appended to the result.AttributedResult.withTextColor
(String cssColor) Sets the text (foreground) color.AttributedResult.withTextDecoration
(String textDecoration) Sets the decoration to be added to the resulting text.