Class IndexTextGeneratorFunction

  • All Implemented Interfaces:
    Serializable, Cloneable, EventListener, org.pentaho.reporting.engine.classic.core.event.ReportListener, org.pentaho.reporting.engine.classic.core.function.Expression, org.pentaho.reporting.engine.classic.core.function.Function

    public class IndexTextGeneratorFunction
    extends IndexNumberGeneratorFunction
    A data-collector that collects table-of-contents items at group-starts. The function collects these items accross subreport boundaries.
    Author:
    Thomas Morgner.
    See Also:
    Serialized Form
    • Constructor Detail

      • IndexTextGeneratorFunction

        public IndexTextGeneratorFunction()
        Creates an unnamed function. Make sure the name of the function is set using AbstractExpression.setName(java.lang.String) before the function is added to the report's function collection.
    • Method Detail

      • getIndexSeparator

        public String getIndexSeparator()
      • setIndexSeparator

        public void setIndexSeparator​(String indexSeparator)
      • isCondensedStyle

        public boolean isCondensedStyle()
      • setCondensedStyle

        public void setCondensedStyle​(boolean condensedStyle)
      • getValue

        public Object getValue()
        Return the current expression value.

        The value depends (obviously) on the expression implementation.

        Specified by:
        getValue in interface org.pentaho.reporting.engine.classic.core.function.Expression
        Overrides:
        getValue in class IndexNumberGeneratorFunction
        Returns:
        the value of the function.