本文整理汇总了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();
}
示例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]);
}
}
}
示例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]);
}
}
}
示例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();
}
示例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();
}
示例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]);
}
}
}
示例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]);
}
}
}
示例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();
}
示例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();
}
示例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();
}
示例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]);
}
}
}
示例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();
}
示例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]);
}
}
}
示例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();
}
示例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();
}