Class DefaultComponentManager
- java.lang.Object
-
- net.sf.jasperreports.engine.component.DefaultComponentManager
-
- All Implemented Interfaces:
ComponentManager
public class DefaultComponentManager extends Object implements ComponentManager
A defaultcomponent manager
implementation.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description DefaultComponentManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentCompiler
getComponentCompiler(JasperReportsContext jasperReportsContext)
Returns the component compiler.ComponentFillFactory
getComponentFillFactory(JasperReportsContext jasperReportsContext)
Returns the factory of fill component instances.ComponentDesignConverter
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.
-
-
-
Method Detail
-
getComponentFillFactory
public ComponentFillFactory getComponentFillFactory(JasperReportsContext jasperReportsContext)
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
public void setComponentFillFactory(ComponentFillFactory fillFactory)
Sets the fill component factory implementation.- Parameters:
fillFactory
- the fill component factory- See Also:
getComponentFillFactory(JasperReportsContext)
-
getComponentCompiler
public ComponentCompiler getComponentCompiler(JasperReportsContext jasperReportsContext)
Description copied from interface:ComponentManager
Returns the component compiler.- Specified by:
getComponentCompiler
in interfaceComponentManager
- Returns:
- the component compiler
-
setComponentCompiler
public void setComponentCompiler(ComponentCompiler componentCompiler)
Sets the component compiler implementation.- Parameters:
componentCompiler
- the component compiler- See Also:
getComponentCompiler(JasperReportsContext)
-
getDesignConverter
public ComponentDesignConverter getDesignConverter(JasperReportsContext jasperReportsContext)
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
public void setDesignConverter(ComponentDesignConverter designConverter)
Sets the design component preview converter.- Parameters:
designConverter
- the design component preview converter
-
-