Class CSSFunction

  • All Implemented Interfaces:
    Expression, Function

    public class CSSFunction
    extends FunctionImpl
    Generate a Color using ColorConverterFactory, the input is expected to be a String.


    1. string: string defining color
    We are using this function, rather than the default converter in order to force the use of CONVERT_CSS_TO_COLOR.
    Jody Garnett (Boundless)
    • Constructor Detail

      • CSSFunction

        public CSSFunction()
    • Method Detail

      • evaluate

        public Object evaluate​(Object object)
        Description copied from class: FunctionImpl
        Default implementation simply returns the fallbackValue.

        Please override this method to produce a value based on the provided arguments.

        Specified by:
        evaluate in interface Expression
        evaluate in class FunctionImpl
        object - Object being evaluated; often a Feature
        value for the provided object