Class DefaultComponentManager
java.lang.Object
net.sf.jasperreports.engine.component.DefaultComponentManager
- All Implemented Interfaces:
ComponentManager
A default
component manager implementation.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComponentCompiler(JasperReportsContext jasperReportsContext) Returns the component compiler.getComponentFillFactory(JasperReportsContext jasperReportsContext) Returns the factory of fill component instances.getDesignConverter(JasperReportsContext jasperReportsContext) Returns the design component preview converter.voidsetComponentCompiler(ComponentCompiler componentCompiler) Sets the component compiler implementation.voidsetComponentFillFactory(ComponentFillFactory fillFactory) Sets the fill component factory implementation.voidsetDesignConverter(ComponentDesignConverter designConverter) Sets the design component preview converter.
-
Constructor Details
-
DefaultComponentManager
public DefaultComponentManager()
-
-
Method Details
-
getComponentFillFactory
Description copied from interface:ComponentManagerReturns the factory of fill component instances.- Specified by:
getComponentFillFactoryin interfaceComponentManager- Returns:
- the factory of fill component instances
-
setComponentFillFactory
Sets the fill component factory implementation.- Parameters:
fillFactory- the fill component factory- See Also:
-
getComponentCompiler
Description copied from interface:ComponentManagerReturns the component compiler.- Specified by:
getComponentCompilerin interfaceComponentManager- Returns:
- the component compiler
-
setComponentCompiler
Sets the component compiler implementation.- Parameters:
componentCompiler- the component compiler- See Also:
-
getDesignConverter
Description copied from interface:ComponentManagerReturns the design component preview converter.May be
null, in which case a static icon is used when previewing a report that contains an instance of the component.- Specified by:
getDesignConverterin interfaceComponentManager- Returns:
- the design component preview converter, or
nullif no such converter exists for the component.
-
setDesignConverter
Sets the design component preview converter.- Parameters:
designConverter- the design component preview converter
-