Class IndexTextGeneratorFunction
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.function.AbstractExpression
-
- org.pentaho.reporting.engine.classic.core.function.AbstractFunction
-
- org.pentaho.reporting.engine.classic.extensions.toc.IndexNumberGeneratorFunction
-
- org.pentaho.reporting.engine.classic.extensions.toc.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 Summary
Constructors Constructor Description IndexTextGeneratorFunction()
Creates an unnamed function.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIndexSeparator()
Object
getValue()
Return the current expression value.boolean
isCondensedStyle()
void
setCondensedStyle(boolean condensedStyle)
void
setIndexSeparator(String indexSeparator)
-
Methods inherited from class org.pentaho.reporting.engine.classic.extensions.toc.IndexNumberGeneratorFunction
clone, getDepth, getInstance, groupFinished, groupStarted, isCollectDetails, isDeepTraversing, itemsAdvanced, itemsFinished, itemsStarted, reportInitialized, reportStarted, setCollectDetails, setDepth
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
reportDone, reportFinished, summaryRowSelection
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
-
-
-
-
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 interfaceorg.pentaho.reporting.engine.classic.core.function.Expression
- Overrides:
getValue
in classIndexNumberGeneratorFunction
- Returns:
- the value of the function.
-
-