本文整理汇总了Java中net.sf.jasperreports.engine.fill.JRFillObjectFactory类的典型用法代码示例。如果您正苦于以下问题:Java JRFillObjectFactory类的具体用法?Java JRFillObjectFactory怎么用?Java JRFillObjectFactory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
JRFillObjectFactory类属于net.sf.jasperreports.engine.fill包,在下文中一共展示了JRFillObjectFactory类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: SubreportFillPart
import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
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);
}
};
}
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:25,代码来源:SubreportFillPart.java
示例17: FillPart
import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
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());
}
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:19,代码来源:FillPart.java
示例18: FillParts
import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
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);
}
}
}
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:18,代码来源:FillParts.java
示例19: MapFillComponent
import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
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));
}
}
}
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:25,代码来源:MapFillComponent.java
示例20: FillSpiderDataset
import net.sf.jasperreports.engine.fill.JRFillObjectFactory; //导入依赖的package包/类
/**
*
*/
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]);
}
}
}
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:22,代码来源:FillSpiderDataset.java
注:本文中的net.sf.jasperreports.engine.fill.JRFillObjectFactory类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论