Class ListComponentCompiler
java.lang.Object
net.sf.jasperreports.components.list.ListComponentCompiler
- All Implemented Interfaces:
ComponentCompiler
Compile-time handler of
list component
instances.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectExpressions
(Component component, JRExpressionCollector collector) Collects report expressions from a component.toCompiledComponent
(Component component, JRBaseObjectFactory baseFactory) Provides a "compiled" component instance that will be included in the compiled report.void
verify
(Component component, JRVerifier verifier) Logically verifies a component.protected void
verifyContents
(JRVerifier verifier, ListContents listContents, int contentsWidth)
-
Constructor Details
-
ListComponentCompiler
public ListComponentCompiler()
-
-
Method Details
-
collectExpressions
Description copied from interface:ComponentCompiler
Collects report expressions from a component.- Specified by:
collectExpressions
in interfaceComponentCompiler
- Parameters:
component
- the componentcollector
- the expression collector
-
toCompiledComponent
Description copied from interface:ComponentCompiler
Provides a "compiled" component instance that will be included in the compiled report.- Specified by:
toCompiledComponent
in interfaceComponentCompiler
- Parameters:
component
- the component from the design reportbaseFactory
- the factory of base/compiled report elements- Returns:
- a component instance that is to be included in the compiled report
-
verify
Description copied from interface:ComponentCompiler
Logically verifies a component.- Specified by:
verify
in interfaceComponentCompiler
- Parameters:
component
- the componentverifier
- the verifier object, which can be used to raise validation errors- See Also:
-
verifyContents
-