Java 类net.sf.jasperreports.engine.fill.JRFillObjectFactory 实例源码

项目:jasperreports    文件:JRFillBarPlot.java   
/**
 *
 */
public JRFillBarPlot(
    JRBarPlot barPlot, 
    JRFillObjectFactory factory
    )
{
    super(barPlot, factory);

    categoryAxisLabelFont = factory.getFont(barPlot.getChart(), barPlot.getCategoryAxisLabelFont()); 
    categoryAxisLabelColor = barPlot.getOwnCategoryAxisLabelColor();
    categoryAxisTickLabelFont = factory.getFont(barPlot.getChart(), barPlot.getCategoryAxisTickLabelFont());
    categoryAxisTickLabelColor = barPlot.getOwnCategoryAxisTickLabelColor();
    categoryAxisLineColor = barPlot.getOwnCategoryAxisLineColor();

    valueAxisLabelFont = factory.getFont(barPlot.getChart(), barPlot.getValueAxisLabelFont());
    valueAxisLabelColor = barPlot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = factory.getFont(barPlot.getChart(), barPlot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = barPlot.getOwnValueAxisTickLabelColor();
    valueAxisLineColor = barPlot.getOwnValueAxisLineColor();

}
项目:jasperreports    文件:JRFillCategoryDataset.java   
/**
 *
 */
public JRFillCategoryDataset(
    JRCategoryDataset categoryDataset, 
    JRFillObjectFactory factory
    )
{
    super(categoryDataset, factory);

    /*   */
    JRCategorySeries[] srcCategorySeries = categoryDataset.getSeries();
    if (srcCategorySeries != null && srcCategorySeries.length > 0)
    {
        categorySeries = new JRFillCategorySeries[srcCategorySeries.length];
        for(int i = 0; i < categorySeries.length; i++)
        {
            categorySeries[i] = (JRFillCategorySeries)factory.getCategorySeries(srcCategorySeries[i]);
        }
    }
}
项目:jasperreports    文件:JRFillTimePeriodDataset.java   
/**
 * 
 */
public JRFillTimePeriodDataset(
    JRTimePeriodDataset timePeriodDataset,
    JRFillObjectFactory factory
    )
{
    super(timePeriodDataset, factory);

    JRTimePeriodSeries[] srcTimePeriodSeries = timePeriodDataset.getSeries();
    if (srcTimePeriodSeries != null && srcTimePeriodSeries.length > 0)
    {
        timePeriodSeries = new JRFillTimePeriodSeries[srcTimePeriodSeries.length];
        for (int i = 0; i < timePeriodSeries.length; i++)
        {
            timePeriodSeries[i] = 
                (JRFillTimePeriodSeries)factory.getTimePeriodSeries(srcTimePeriodSeries[i]);
        }
    }
}
项目:jasperreports    文件:JRFillScatterPlot.java   
/**
 *
 */
public JRFillScatterPlot( JRScatterPlot plot, JRFillObjectFactory factory ){
    super( plot, factory );

    xAxisLabelFont = factory.getFont(plot.getChart(), plot.getXAxisLabelFont());
    xAxisLabelColor = plot.getOwnXAxisLabelColor();
    xAxisTickLabelFont = factory.getFont(plot.getChart(), plot.getXAxisTickLabelFont());
    xAxisTickLabelColor = plot.getOwnXAxisTickLabelColor();
    xAxisLineColor = plot.getOwnXAxisLineColor();

    yAxisLabelFont = factory.getFont(plot.getChart(), plot.getYAxisLabelFont());
    yAxisLabelColor = plot.getOwnYAxisLabelColor();
    yAxisTickLabelFont = factory.getFont(plot.getChart(), plot.getYAxisTickLabelFont());
    yAxisTickLabelColor = plot.getOwnYAxisTickLabelColor();
    yAxisLineColor = plot.getOwnYAxisLineColor();
}
项目:jasperreports    文件:JRFillTimeSeriesPlot.java   
/**
 *
 */
public JRFillTimeSeriesPlot( JRTimeSeriesPlot plot, JRFillObjectFactory factory )
{
    super(plot, factory);

    timeAxisLabelFont = factory.getFont(plot.getChart(), plot.getTimeAxisLabelFont());
    timeAxisLabelColor = plot.getOwnTimeAxisLabelColor();
    timeAxisTickLabelFont = factory.getFont(plot.getChart(), plot.getTimeAxisTickLabelFont());
    timeAxisTickLabelColor = plot.getOwnTimeAxisTickLabelColor();
    timeAxisLineColor = plot.getOwnTimeAxisLineColor();

    valueAxisLabelFont = factory.getFont(plot.getChart(), plot.getValueAxisLabelFont());
    valueAxisLabelColor = plot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = factory.getFont(plot.getChart(), plot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = plot.getOwnValueAxisTickLabelColor();
    valueAxisLineColor = plot.getOwnValueAxisTickLabelColor();
}
项目:jasperreports    文件:JRFillTimeSeriesDataset.java   
public JRFillTimeSeriesDataset(
    JRTimeSeriesDataset timeSeriesDataset, 
    JRFillObjectFactory factory 
    )
{
    super( timeSeriesDataset, factory );

    JRTimeSeries[] srcTimeSeries = timeSeriesDataset.getSeries();
    if( srcTimeSeries != null && srcTimeSeries.length > 0)
    {
        timeSeries = new JRFillTimeSeries[srcTimeSeries.length];
        for (int i = 0; i < timeSeries.length; i++)
        {
            timeSeries[i] = (JRFillTimeSeries)factory.getTimeSeries(srcTimeSeries[i]);
        }
    }
}
项目:jasperreports    文件:JRFillXyDataset.java   
/**
 *
 */
public JRFillXyDataset(
    JRXyDataset xyDataset, 
    JRFillObjectFactory factory
    )
{
    super(xyDataset, factory);

    /*   */
    JRXySeries[] srcXySeries = xyDataset.getSeries();
    if (srcXySeries != null && srcXySeries.length > 0)
    {
        xySeries = new JRFillXySeries[srcXySeries.length];
        for(int i = 0; i < xySeries.length; i++)
        {
            xySeries[i] = (JRFillXySeries)factory.getXySeries(srcXySeries[i]);
        }
    }
}
项目:jasperreports    文件:JRFillHighLowPlot.java   
/**
 *
 */
public JRFillHighLowPlot(
    JRHighLowPlot highLowPlot,
    JRFillObjectFactory factory
    )
{
    super(highLowPlot, factory);

    timeAxisLabelFont = factory.getFont(highLowPlot.getChart(), highLowPlot.getTimeAxisLabelFont());
    timeAxisLabelColor = highLowPlot.getOwnTimeAxisLabelColor();
    timeAxisTickLabelFont = factory.getFont(highLowPlot.getChart(), highLowPlot.getTimeAxisTickLabelFont());
    timeAxisTickLabelColor = highLowPlot.getOwnTimeAxisTickLabelColor();
    timeAxisLineColor = highLowPlot.getOwnTimeAxisLineColor();

    valueAxisLabelFont = factory.getFont(highLowPlot.getChart(), highLowPlot.getValueAxisLabelFont());
    valueAxisLabelColor = highLowPlot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = factory.getFont(highLowPlot.getChart(), highLowPlot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = highLowPlot.getOwnValueAxisTickLabelColor();
    valueAxisLineColor = highLowPlot.getOwnValueAxisTickLabelColor();
}
项目:jasperreports    文件:JRFillAreaPlot.java   
/**
 *
 */
public JRFillAreaPlot( JRAreaPlot areaPlot, JRFillObjectFactory factory )
{
    super( areaPlot, factory ); 

    //FIXME should the font use the fill chart?
    categoryAxisLabelFont = factory.getFont(areaPlot.getChart(), areaPlot.getCategoryAxisLabelFont()); 
    categoryAxisLabelColor = areaPlot.getOwnCategoryAxisLabelColor();
    categoryAxisTickLabelFont = factory.getFont(areaPlot.getChart(), areaPlot.getCategoryAxisTickLabelFont());
    categoryAxisTickLabelColor = areaPlot.getOwnCategoryAxisTickLabelColor();
    categoryAxisLineColor = areaPlot.getOwnCategoryAxisLineColor();

    valueAxisLabelFont = factory.getFont(areaPlot.getChart(), areaPlot.getValueAxisLabelFont());
    valueAxisLabelColor = areaPlot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = factory.getFont(areaPlot.getChart(), areaPlot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = areaPlot.getOwnValueAxisTickLabelColor();
    valueAxisLineColor = areaPlot.getOwnValueAxisLineColor();
}
项目:jasperreports    文件:JRFillBubblePlot.java   
/**
 *
 */
public JRFillBubblePlot( JRBubblePlot bubblePlot, JRFillObjectFactory factory ){
    super( bubblePlot, factory );

    xAxisLabelFont = factory.getFont(bubblePlot.getChart(), bubblePlot.getXAxisLabelFont());
    xAxisLabelColor = bubblePlot.getOwnXAxisLabelColor();
    xAxisTickLabelFont = factory.getFont(bubblePlot.getChart(), bubblePlot.getXAxisTickLabelFont());
    xAxisTickLabelColor = bubblePlot.getOwnXAxisTickLabelColor();
    xAxisLineColor = bubblePlot.getOwnXAxisLineColor();

    yAxisLabelFont = factory.getFont(bubblePlot.getChart(), bubblePlot.getYAxisLabelFont());
    yAxisLabelColor = bubblePlot.getOwnYAxisLabelColor();
    yAxisTickLabelFont = factory.getFont(bubblePlot.getChart(), bubblePlot.getYAxisTickLabelFont());
    yAxisTickLabelColor = bubblePlot.getOwnYAxisTickLabelColor();
    yAxisLineColor = bubblePlot.getOwnYAxisLineColor();
}
项目:jasperreports    文件:JRFillGanttDataset.java   
/**
 *
 */
public JRFillGanttDataset(
    JRGanttDataset ganttDataset,
    JRFillObjectFactory factory
    )
{
    super(ganttDataset, factory);

    /*   */
    JRGanttSeries[] srcGanttSeries = ganttDataset.getSeries();
    if (srcGanttSeries != null && srcGanttSeries.length > 0)
    {
        ganttSeries = new JRFillGanttSeries[srcGanttSeries.length];
        for(int i = 0; i < ganttSeries.length; i++)
        {
            ganttSeries[i] = (JRFillGanttSeries)factory.getGanttSeries(srcGanttSeries[i]);
        }
    }
}
项目:jasperreports    文件:JRFillCandlestickPlot.java   
/**
 *
 */
public JRFillCandlestickPlot(
    JRCandlestickPlot candlestickPlot,
    JRFillObjectFactory factory
    )
{
    super(candlestickPlot, factory);

    timeAxisLabelFont = factory.getFont(candlestickPlot.getChart(), candlestickPlot.getTimeAxisLabelFont());
    timeAxisLabelColor = candlestickPlot.getOwnTimeAxisLabelColor();
    timeAxisTickLabelFont = factory.getFont(candlestickPlot.getChart(), candlestickPlot.getTimeAxisTickLabelFont());
    timeAxisTickLabelColor = candlestickPlot.getOwnTimeAxisTickLabelColor();
    timeAxisLineColor = candlestickPlot.getOwnTimeAxisLineColor();

    valueAxisLabelFont = factory.getFont(candlestickPlot.getChart(), candlestickPlot.getValueAxisLabelFont());
    valueAxisLabelColor = candlestickPlot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = factory.getFont(candlestickPlot.getChart(), candlestickPlot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = candlestickPlot.getOwnValueAxisTickLabelColor();
    valueAxisLineColor = candlestickPlot.getOwnValueAxisTickLabelColor();
}
项目:jasperreports    文件:JRFillPieDataset.java   
/**
 *
 */
public JRFillPieDataset(
    JRPieDataset pieDataset, 
    JRFillObjectFactory factory
    )
{
    super(pieDataset, factory);

    /*   */
    JRPieSeries[] srcPieSeries = pieDataset.getSeries();
    if (srcPieSeries != null && srcPieSeries.length > 0)
    {
        pieSeries = new JRFillPieSeries[srcPieSeries.length];
        for(int i = 0; i < pieSeries.length; i++)
        {
            pieSeries[i] = (JRFillPieSeries)factory.getPieSeries(srcPieSeries[i]);
        }
    }
}
项目:jasperreports    文件:JRFillLinePlot.java   
/**
 *
 */
public JRFillLinePlot( JRLinePlot plot, JRFillObjectFactory factory )
{
    super( plot, factory );

    categoryAxisLabelFont = factory.getFont(plot.getChart(), plot.getCategoryAxisLabelFont()); 
    categoryAxisLabelColor = plot.getOwnCategoryAxisLabelColor();
    categoryAxisTickLabelFont = factory.getFont(plot.getChart(), plot.getCategoryAxisTickLabelFont());
    categoryAxisTickLabelColor = plot.getOwnCategoryAxisTickLabelColor();
    categoryAxisLineColor = plot.getOwnCategoryAxisLineColor();

    valueAxisLabelFont = factory.getFont(plot.getChart(), plot.getValueAxisLabelFont());
    valueAxisLabelColor = plot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = factory.getFont(plot.getChart(), plot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = plot.getOwnValueAxisTickLabelColor();
    valueAxisLineColor = plot.getOwnValueAxisLineColor();
}
项目:jasperreports    文件:JRFillBar3DPlot.java   
/**
 *
 */
public JRFillBar3DPlot( JRBar3DPlot barPlot, JRFillObjectFactory factory ){
    super( barPlot, factory );

    categoryAxisLabelFont = factory.getFont(barPlot.getChart(), barPlot.getCategoryAxisLabelFont()); 
    categoryAxisLabelColor = barPlot.getOwnCategoryAxisLabelColor();
    categoryAxisTickLabelFont = factory.getFont(barPlot.getChart(), barPlot.getCategoryAxisTickLabelFont());
    categoryAxisTickLabelColor = barPlot.getOwnCategoryAxisTickLabelColor();
    categoryAxisLineColor = barPlot.getOwnCategoryAxisLineColor();

    valueAxisLabelFont = factory.getFont(barPlot.getChart(), barPlot.getValueAxisLabelFont());
    valueAxisLabelColor = barPlot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = factory.getFont(barPlot.getChart(), barPlot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = barPlot.getOwnValueAxisTickLabelColor();
    valueAxisLineColor = barPlot.getOwnValueAxisLineColor();
}
项目:jasperreports    文件:SubreportFillPart.java   
public SubreportFillPart(SubreportPartComponent subreportPart, JRFillObjectFactory factory)
{
    this.subreportPart = subreportPart;
    this.expressionEvaluator = factory.getExpressionEvaluator();

    this.returnValues = new FillReturnValues(subreportPart.getReturnValues(), factory, factory.getReportFiller());
    this.returnValuesSource = new AbstractVariableReturnValueSourceContext() 
    {
        @Override
        public Object getValue(CommonReturnValue returnValue) {
            return subreportFiller.getVariableValue(((VariableReturnValue)returnValue).getFromVariable());
        }

        @Override
        public JRVariable getToVariable(String name) {
            return fillContext.getFiller().getVariable(name);
        }

        @Override
        public JRVariable getFromVariable(String name) {
            return subreportFiller.getVariable(name);
        }
    };
}
项目:jasperreports    文件:FillPart.java   
public FillPart(JRPart part, JRFillObjectFactory fillFactory)
{
    this.reportPart = part;
    this.expressionEvaluator = fillFactory.getExpressionEvaluator();
    reportFiller = (PartReportFiller) fillFactory.getReportFiller();//FIXMEBOOK

    ComponentKey componentKey = part.getComponentKey();
    PartComponent component = part.getComponent();

    JasperReportsContext jasperReportsContext = fillFactory.getReportFiller().getJasperReportsContext();
    PartComponentsEnvironment partsEnv = PartComponentsEnvironment.getInstance(jasperReportsContext);
    PartComponentManager componentManager = partsEnv.getManager(componentKey);
    PartComponentFillFactory componentFactory = componentManager.getComponentFillFactory(jasperReportsContext);

    //fillFactory.trackDatasetRuns();FIXMEBOOK
    this.fillComponent = componentFactory.toFillComponent(component, fillFactory);
    fillComponent.initialize(new Context());
}
项目:jasperreports    文件:FillParts.java   
public FillParts(JRSection section, JRFillObjectFactory fillFactory)
{
    JRPart[] sectionParts = section == null ? null : section.getParts();
    if (sectionParts == null || sectionParts.length == 0)
    {
        parts = Collections.emptyList();
    }
    else
    {
        parts = new ArrayList<FillPart>(sectionParts.length);
        for (JRPart part : sectionParts)
        {
            FillPart fillPart = new FillPart(part, fillFactory);
            parts.add(fillPart);
        }
    }
}
项目:jasperreports    文件:MapFillComponent.java   
public MapFillComponent(MapComponent map, JRFillObjectFactory factory)
{
    this.mapComponent = map;
    this.factory = factory;

    if(mapComponent.getMarkerDataList() != null){
        markerDataList = new ArrayList<FillItemData>();
        for(ItemData markerData : mapComponent.getMarkerDataList()) {
            markerDataList.add(new FillPlaceItemData(this, markerData, factory));
        }
    }
    if(mapComponent.getPathStyleList() != null){
        pathStyleList = new ArrayList<FillItemData>();
        for(ItemData pathStyle : mapComponent.getPathStyleList()) {
            pathStyleList.add(new FillStyleItemData(this, pathStyle, factory));
        }
    }
    if(mapComponent.getPathDataList() != null){
        pathDataList = new ArrayList<FillItemData>();
        for(ItemData pathData : mapComponent.getPathDataList()) {
            pathDataList.add(new FillPlaceItemData(this, pathData, factory));
        }
    }
}
项目:jasperreports    文件:FillSpiderDataset.java   
/**
 *
 */
public FillSpiderDataset(
    SpiderDataset spiderDataset, 
    JRFillObjectFactory factory
    )
{
    super(spiderDataset, factory);

    /*   */
    JRCategorySeries[] srcCategorySeries = spiderDataset.getSeries();
    if (srcCategorySeries != null && srcCategorySeries.length > 0)
    {
        categorySeries = new JRFillCategorySeries[srcCategorySeries.length];
        for(int i = 0; i < srcCategorySeries.length; i++)
        {
            categorySeries[i] = (JRFillCategorySeries)factory.getCategorySeries(srcCategorySeries[i]);
        }
    }
}
项目:jasperreports    文件:HorizontalFillList.java   
public HorizontalFillList(ListComponent component, JRFillObjectFactory factory) throws JRException
{
    super(component, factory);

    ListContents listContents = component.getContents();
    this.contentsWidth = listContents.getWidth().intValue();

    Boolean listIgnoreWidth = component.getIgnoreWidth();
    this.ignoreWidth = listIgnoreWidth != null && listIgnoreWidth.booleanValue();

    JRFillObjectFactory datasetFactory = new JRFillObjectFactory(factory, 
            createDatasetExpressionEvaluator());
    FillListContents fillContents = new FillListContents(
            listContents, datasetFactory);
    this.contentsList = new ArrayList<FillListContents>();
    this.contentsList.add(fillContents);
}
项目:jasperreports    文件:FillListFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    try
    {
        ListComponent list = (ListComponent) component;
        FillComponent fillList;
        PrintOrderEnum printOrder = list.getPrintOrderValue();
        if (printOrder == null 
                || printOrder == PrintOrderEnum.VERTICAL)
        {
            fillList = new VerticalFillList(list, factory);
        }
        else
        {
            fillList = new HorizontalFillList(list, factory);
        }
        return fillList;
    }
    catch (JRException e)
    {
        throw new JRRuntimeException(e);
    }
}
项目:jasperreports    文件:TextInputComponentFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    TextInputComponent textInputComponent = (TextInputComponent) component;
    return new TextInputComponentFill(textInputComponent, factory);
}
项目:jasperreports    文件:FillXYDataset.java   
public FillXYDataset(XYDataset dataset, JRFillObjectFactory factory)
{
    super(dataset, factory);

    XYSeries[] srcXySeries = dataset.getSeries();
    if (srcXySeries != null && srcXySeries.length > 0)
    {
        xySeries = new FillXYSeries[srcXySeries.length];
        for(int i = 0; i < xySeries.length; i++)
        {
            xySeries[i] = new FillXYSeries(srcXySeries[i], factory);
        }
    }
    this.dataset = dataset;
}
项目:jasperreports    文件:FillXYSeries.java   
/**
 *
 */
public FillXYSeries(
    XYSeries xySeries, 
    JRFillObjectFactory factory
    )
{
    factory.put(xySeries, this);

    parent = xySeries;
}
项目:jasperreports    文件:FillBarDataset.java   
public FillBarDataset(BarDataset dataset, JRFillObjectFactory factory)
{
    super(dataset, factory);

    this.dataset = dataset;

    List<BarSeries> datasetSeries = dataset.getSeries();
    seriesList = new ArrayList<FillBarSeries>(datasetSeries.size());
    for (Iterator<BarSeries> it = datasetSeries.iterator(); it.hasNext();)
    {
        BarSeries series = it.next();
        FillBarSeries fillSeries = new FillBarSeries(series);
        seriesList.add(fillSeries);
    }
}
项目:jasperreports    文件:HtmlComponentFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    HtmlComponent htmlComponent = (HtmlComponent) component;
    return new HtmlComponentFill(htmlComponent);
}
项目:jasperreports    文件:JRFillChartAxis.java   
public JRFillChartAxis(JRChartAxis axis, JRFillObjectFactory factory)
{
    factory.put(axis, this);

    this.parent = axis;
    this.fillChart = (JRFillChart)factory.getVisitResult(axis.getChart());
}
项目:jasperreports    文件:JRFillXyzDataset.java   
public JRFillXyzDataset(JRXyzDataset xyzDataset, JRFillObjectFactory factory)
{
    super( xyzDataset, factory );

    JRXyzSeries[] srcXyzSeries = xyzDataset.getSeries();
    if(srcXyzSeries != null && srcXyzSeries.length > 0)
    {
        xyzSeries = new JRFillXyzSeries[srcXyzSeries.length];
        for(int i = 0; i < xyzSeries.length; i++)
        {
            xyzSeries[i] = (JRFillXyzSeries)factory.getXyzSeries( srcXyzSeries[i]);
        }
    }
}
项目:jasperreports    文件:JRFillTimeSeries.java   
/**
 *
 */
public JRFillTimeSeries(
    JRTimeSeries timeSeries, 
    JRFillObjectFactory factory
    )
{
    factory.put(timeSeries, this);

    parent = timeSeries;
}
项目:jasperreports    文件:JRFillItemLabel.java   
/**
 *
 */
public JRFillItemLabel(JRItemLabel itemLabel, JRFillObjectFactory factory)
{
    factory.put(itemLabel, this);

    parent = itemLabel;

    chart = (JRChart)factory.getVisitResult(itemLabel.getChart());
}
项目:jasperreports    文件:JRFillGanttSeries.java   
/**
 *
 */
public JRFillGanttSeries(
    JRGanttSeries ganttSeries,
    JRFillObjectFactory factory
    )
{
    factory.put(ganttSeries, this);

    parent = ganttSeries;
}
项目:jasperreports    文件:JRFillPieSeries.java   
/**
 *
 */
public JRFillPieSeries(
    JRPieSeries pieSeries, 
    JRFillObjectFactory factory
    )
{
    factory.put(pieSeries, this);

    parent = pieSeries;
}
项目:jasperreports    文件:JRFillPie3DPlot.java   
/**
 *
 */
public JRFillPie3DPlot(
    JRPie3DPlot pie3DPlot, 
    JRFillObjectFactory factory
    )
{
    super(pie3DPlot, factory);
}
项目:jasperreports    文件:JRFillCategorySeries.java   
/**
 *
 */
public JRFillCategorySeries(
    JRCategorySeries categorySeries, 
    JRFillObjectFactory factory
    )
{
    factory.put(categorySeries, this);

    parent = categorySeries;
}
项目:jasperreports    文件:JRFillValueDisplay.java   
/**
 *
 */
public JRFillValueDisplay(JRValueDisplay valueDisplay, JRFillObjectFactory factory)
{
    factory.put(valueDisplay, this);

    parent = valueDisplay;

    chart = (JRChart)factory.getVisitResult(valueDisplay.getChart());
}
项目:jasperreports    文件:JRFillPiePlot.java   
/**
 *
 */
public JRFillPiePlot(
    JRPiePlot piePlot, 
    JRFillObjectFactory factory
    )
{
    super(piePlot, factory);
}
项目:jasperreports    文件:JRFillMultiAxisPlot.java   
public JRFillMultiAxisPlot(JRMultiAxisPlot multiAxisPlot, JRFillObjectFactory factory)
{
    super(multiAxisPlot, factory);

    List<JRChartAxis> parentAxes = multiAxisPlot.getAxes();
    this.axes = new ArrayList<JRChartAxis>(parentAxes.size());
    Iterator<JRChartAxis> iter = parentAxes.iterator();
    while (iter.hasNext())
    {
        JRChartAxis axis = iter.next();
        this.axes.add(factory.getChartAxis(axis));
    }
}
项目:jasperreports    文件:JRFillXySeries.java   
/**
 *
 */
public JRFillXySeries(
    JRXySeries xySeries, 
    JRFillObjectFactory factory
    )
{
    factory.put(xySeries, this);

    parent = xySeries;
}
项目:jasperreports    文件:FillSubreportPartFactory.java   
@Override
public PartFillComponent toFillComponent(PartComponent component,
        JRFillObjectFactory factory)
{
    SubreportPartComponent subreportPart = (SubreportPartComponent) component;
    SubreportFillPart fillSubreport = new SubreportFillPart(subreportPart, factory);
    return fillSubreport;
}