net.sf.jasperreports.engine.component
Interface ComponentFillFactory

All Known Implementing Classes:
BarbecueFillFactory, BarcodeFillFactory, FillListFactory, FillTableFactory, SpiderChartFillFactory

public interface ComponentFillFactory

A factory of fill component instances.

Version:
$Id: ComponentFillFactory.java 3033 2009-08-27 11:46:22Z teodord $
Author:
Lucian Chirita ([email protected])
See Also:
ComponentManager, FillComponent

Method Summary
 FillComponent cloneFillComponent(FillComponent component, JRFillCloneFactory factory)
          Creates a clone of a fill component.
 FillComponent toFillComponent(Component component, JRFillObjectFactory factory)
          Creates a fill component instance for a component.
 

Method Detail

toFillComponent

FillComponent toFillComponent(Component component,
                              JRFillObjectFactory factory)
Creates a fill component instance for a component.

Parameters:
component - the component
factory - the fill objects factory
Returns:
the fill component instance

cloneFillComponent

FillComponent cloneFillComponent(FillComponent component,
                                 JRFillCloneFactory factory)
Creates a clone of a fill component.

Fill components clones are currently only created when the component element is placed inside a crosstab.

Parameters:
component - the fill component
factory - the clone factory
Returns:
a clone of the fill component


Copyright © 2011. All Rights Reserved.