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.void
setComponentCompiler
(ComponentCompiler componentCompiler) Sets the component compiler implementation.void
setComponentFillFactory
(ComponentFillFactory fillFactory) Sets the fill component factory implementation.void
setDesignConverter
(ComponentDesignConverter designConverter) Sets the design component preview converter.
-
Constructor Details
-
DefaultComponentManager
public DefaultComponentManager()
-
-
Method Details
-
getComponentFillFactory
Description copied from interface:ComponentManager
Returns the factory of fill component instances.- Specified by:
getComponentFillFactory
in 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:ComponentManager
Returns the component compiler.- Specified by:
getComponentCompiler
in interfaceComponentManager
- Returns:
- the component compiler
-
setComponentCompiler
Sets the component compiler implementation.- Parameters:
componentCompiler
- the component compiler- See Also:
-
getDesignConverter
Description copied from interface:ComponentManager
Returns 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:
getDesignConverter
in interfaceComponentManager
- Returns:
- the design component preview converter, or
null
if no such converter exists for the component.
-
setDesignConverter
Sets the design component preview converter.- Parameters:
designConverter
- the design component preview converter
-