net.sf.jasperreports.engine.component

## Interface ComponentFillFactory

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

      public interface ComponentFillFactory

  A factory of fill component instances.
  Version:
    $Id: ComponentFillFactory.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
  See Also:
    `ComponentManager`, `FillComponent`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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