Class ImageFieldTemplate

    • Constructor Detail

      • ImageFieldTemplate

        public ImageFieldTemplate()
        Creates a new image field template.
    • Method Detail

      • getField

        public String getField()
        Returns the field name.
        Returns:
        The field name.
      • setField

        public void setField​(String field)
        Sets the field name.
        Parameters:
        field - the field name.
      • getFormula

        public String getFormula()
        Returns the formula used to compute the value of the data source.
        Returns:
        the formula.
      • setFormula

        public void setFormula​(String formula)
        Defines the formula used to compute the value of this data source.
        Parameters:
        formula - the formula for the data source.
      • getValue

        public Object getValue​(ExpressionRuntime runtime,
                               ReportElement element)
        Returns the current value for the data source.
        Parameters:
        runtime - the expression runtime that is used to evaluate formulas and expressions when computing the value of this filter.
        element -
        Returns:
        the value.
      • getDataRowDataSource

        protected DataRowDataSource getDataRowDataSource()
        Returns the datarow data source used in this template.
        Returns:
        the datarow data source.