net.sf.jasperreports.engine.component
Interface ComponentFillFactory

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

public interface ComponentFillFactory

A factory of fill component instances.

Version:
$Id: ComponentFillFactory.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
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


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com