当前位置: 首页>>代码示例>>Java>>正文


Java JRFillObjectFactory类代码示例

本文整理汇总了Java中net.sf.jasperreports.engine.fill.JRFillObjectFactory的典型用法代码示例。如果您正苦于以下问题:Java JRFillObjectFactory类的具体用法?Java JRFillObjectFactory怎么用?Java JRFillObjectFactory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


JRFillObjectFactory类属于net.sf.jasperreports.engine.fill包,在下文中一共展示了JRFillObjectFactory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: JRFillBarPlot

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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();
	
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:24,代码来源:JRFillBarPlot.java

示例2: JRFillCategoryDataset

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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]);
		}
	}
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:22,代码来源:JRFillCategoryDataset.java

示例3: JRFillTimePeriodDataset

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 * 
 */
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]);
		}
	}
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:22,代码来源:JRFillTimePeriodDataset.java

示例4: JRFillScatterPlot

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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();
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:19,代码来源:JRFillScatterPlot.java

示例5: JRFillTimeSeriesPlot

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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();
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:20,代码来源:JRFillTimeSeriesPlot.java

示例6: JRFillTimeSeriesDataset

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
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]);
		}
	}
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:18,代码来源:JRFillTimeSeriesDataset.java

示例7: JRFillXyDataset

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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]);
		}
	}
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:22,代码来源:JRFillXyDataset.java

示例8: JRFillHighLowPlot

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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();
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:23,代码来源:JRFillHighLowPlot.java

示例9: JRFillAreaPlot

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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();
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:21,代码来源:JRFillAreaPlot.java

示例10: JRFillBubblePlot

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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();
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:19,代码来源:JRFillBubblePlot.java

示例11: JRFillGanttDataset

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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]);
		}
	}
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:22,代码来源:JRFillGanttDataset.java

示例12: JRFillCandlestickPlot

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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();
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:23,代码来源:JRFillCandlestickPlot.java

示例13: JRFillPieDataset

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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]);
		}
	}
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:22,代码来源:JRFillPieDataset.java

示例14: JRFillLinePlot

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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();
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:20,代码来源:JRFillLinePlot.java

示例15: JRFillBar3DPlot

import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
 *
 */
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();
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:19,代码来源:JRFillBar3DPlot.java


注:本文中的net.sf.jasperreports.engine.fill.JRFillObjectFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。