Package net.sf.jasperreports.engine.base

Examples of net.sf.jasperreports.engine.base.JRBaseFont


  {
    this.chart = chart;
   
    if (valueDisplay == null)
    {
      font = new JRBaseFont(chart, null);
    }
    else
    {
      color = valueDisplay.getColor();
      mask = valueDisplay.getMask();
      font = new JRBaseFont(valueDisplay.getChart(), valueDisplay.getFont());
    }
  }
View Full Code Here


    chart = (JRChart)factory.getVisitResult(valueDisplay.getChart());

    color = valueDisplay.getColor();
    mask = valueDisplay.getMask();
    font = new JRBaseFont(valueDisplay.getChart(), valueDisplay.getFont());
  }
View Full Code Here

    JRFillObjectFactory factory
    )
  {
    super(highLowPlot, factory);

    timeAxisLabelFont = new JRBaseFont(highLowPlot.getChart(), highLowPlot.getTimeAxisLabelFont());
    timeAxisLabelColor = highLowPlot.getOwnTimeAxisLabelColor();
    timeAxisTickLabelFont = new JRBaseFont(highLowPlot.getChart(), highLowPlot.getTimeAxisTickLabelFont());
    timeAxisTickLabelColor = highLowPlot.getOwnTimeAxisTickLabelColor();
    timeAxisLineColor = highLowPlot.getOwnTimeAxisLineColor();
   
    valueAxisLabelFont = new JRBaseFont(highLowPlot.getChart(), highLowPlot.getValueAxisLabelFont());
    valueAxisLabelColor = highLowPlot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = new JRBaseFont(highLowPlot.getChart(), highLowPlot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = highLowPlot.getOwnValueAxisTickLabelColor();
    valueAxisLineColor = highLowPlot.getOwnValueAxisTickLabelColor();
  }
View Full Code Here

    super(plot, chart);
   
    JRLinePlot linePlot = plot instanceof JRLinePlot ? (JRLinePlot)plot : null;
    if (linePlot == null)
    {
      categoryAxisLabelFont = new JRBaseFont(chart, null);
      categoryAxisTickLabelFont = new JRBaseFont(chart, null);
      valueAxisLabelFont = new JRBaseFont(chart, null);
      valueAxisTickLabelFont = new JRBaseFont(chart, null);
    }
    else
    {
      categoryAxisLabelFont = new JRBaseFont(chart, linePlot.getCategoryAxisLabelFont());
      categoryAxisTickLabelFont = new JRBaseFont(chart, linePlot.getCategoryAxisTickLabelFont());
      valueAxisLabelFont = new JRBaseFont(chart, linePlot.getValueAxisLabelFont());
      valueAxisTickLabelFont = new JRBaseFont(chart, linePlot.getValueAxisTickLabelFont());
    }
  }
View Full Code Here

   
    showShapes = linePlot.getShowShapes();
    showLines = linePlot.getShowLines();
   
    categoryAxisLabelExpression = factory.getExpression( linePlot.getCategoryAxisLabelExpression() );
    categoryAxisLabelFont = new JRBaseFont(linePlot.getChart(), linePlot.getCategoryAxisLabelFont());
    categoryAxisLabelColor = linePlot.getOwnCategoryAxisLabelColor();
    categoryAxisTickLabelFont = new JRBaseFont(linePlot.getChart(), linePlot.getCategoryAxisTickLabelFont());
    categoryAxisTickLabelColor = linePlot.getOwnCategoryAxisTickLabelColor();
    categoryAxisTickLabelMask = linePlot.getCategoryAxisTickLabelMask();
    categoryAxisVerticalTickLabels = linePlot.getCategoryAxisVerticalTickLabels();
    categoryAxisLineColor = linePlot.getOwnCategoryAxisLineColor();
    labelRotationDouble = linePlot.getCategoryAxisTickLabelRotation();
   
    valueAxisLabelExpression = factory.getExpression( linePlot.getValueAxisLabelExpression() );
    domainAxisMinValueExpression = factory.getExpression( linePlot.getDomainAxisMinValueExpression() );
    domainAxisMaxValueExpression = factory.getExpression( linePlot.getDomainAxisMaxValueExpression() );
    rangeAxisMinValueExpression = factory.getExpression( linePlot.getRangeAxisMinValueExpression() );
    rangeAxisMaxValueExpression = factory.getExpression( linePlot.getRangeAxisMaxValueExpression() );
    valueAxisLabelFont = new JRBaseFont(linePlot.getChart(), linePlot.getValueAxisLabelFont());
    valueAxisLabelColor = linePlot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = new JRBaseFont(linePlot.getChart(), linePlot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = linePlot.getOwnValueAxisTickLabelColor();
    valueAxisTickLabelMask = linePlot.getValueAxisTickLabelMask();
    valueAxisVerticalTickLabels = linePlot.getValueAxisVerticalTickLabels();
    valueAxisLineColor = linePlot.getOwnValueAxisLineColor();
  }
View Full Code Here

    super(plot, chart);
   
    JRTimeSeriesPlot timeSeriesPlot = plot instanceof JRTimeSeriesPlot ? (JRTimeSeriesPlot)plot : null;
    if (timeSeriesPlot == null)
    {
      timeAxisLabelFont = new JRBaseFont(chart, null);
      timeAxisTickLabelFont = new JRBaseFont(chart, null);
      valueAxisLabelFont = new JRBaseFont(chart, null);
      valueAxisTickLabelFont = new JRBaseFont(chart, null);
    }
    else
    {//FIXMETHEME you could copy more things
      timeAxisLabelFont = new JRBaseFont(chart, timeSeriesPlot.getTimeAxisLabelFont());
      timeAxisTickLabelFont = new JRBaseFont(chart, timeSeriesPlot.getTimeAxisTickLabelFont());
      valueAxisLabelFont = new JRBaseFont(chart, timeSeriesPlot.getValueAxisLabelFont());
      valueAxisTickLabelFont = new JRBaseFont(chart, timeSeriesPlot.getValueAxisTickLabelFont());
    }
  }
View Full Code Here

   
    showLines = plot.getShowLines();
    showShapes = plot.getShowShapes();
   
    timeAxisLabelExpression = factory.getExpression( plot.getTimeAxisLabelExpression() );
    timeAxisLabelFont = new JRBaseFont(plot.getChart(), plot.getTimeAxisLabelFont());//FIXMETHEME check this plot.getChart(); don't we get the design chart?
    timeAxisLabelColor = plot.getOwnTimeAxisLabelColor();
    timeAxisTickLabelFont = new JRBaseFont(plot.getChart(), plot.getTimeAxisTickLabelFont());
    timeAxisTickLabelColor = plot.getOwnTimeAxisTickLabelColor();
    timeAxisTickLabelMask = plot.getTimeAxisTickLabelMask();
    timeAxisVerticalTickLabels = plot.getTimeAxisVerticalTickLabels();
    timeAxisLineColor = plot.getOwnTimeAxisLineColor();
   
    valueAxisLabelExpression = factory.getExpression( plot.getValueAxisLabelExpression() );
    domainAxisMinValueExpression = factory.getExpression( plot.getDomainAxisMinValueExpression() );
    domainAxisMaxValueExpression = factory.getExpression( plot.getDomainAxisMaxValueExpression() );
    rangeAxisMinValueExpression = factory.getExpression( plot.getRangeAxisMinValueExpression() );
    rangeAxisMaxValueExpression = factory.getExpression( plot.getRangeAxisMaxValueExpression() );
    valueAxisLabelFont = new JRBaseFont(plot.getChart(), plot.getValueAxisLabelFont());
    valueAxisLabelColor = plot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = new JRBaseFont(plot.getChart(), plot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = plot.getOwnValueAxisTickLabelColor();
    valueAxisTickLabelMask = plot.getValueAxisTickLabelMask();
    valueAxisVerticalTickLabels = plot.getValueAxisVerticalTickLabels();
    valueAxisLineColor = plot.getOwnValueAxisTickLabelColor();
  }
View Full Code Here

   */
  public JRFillLinePlot( JRLinePlot plot, JRFillObjectFactory factory )
  {
    super( plot, factory );

    categoryAxisLabelFont = new JRBaseFont(plot.getChart(), plot.getCategoryAxisLabelFont());
    categoryAxisLabelColor = plot.getOwnCategoryAxisLabelColor();
    categoryAxisTickLabelFont = new JRBaseFont(plot.getChart(), plot.getCategoryAxisTickLabelFont());
    categoryAxisTickLabelColor = plot.getOwnCategoryAxisTickLabelColor();
    categoryAxisLineColor = plot.getOwnCategoryAxisLineColor();
   
    valueAxisLabelFont = new JRBaseFont(plot.getChart(), plot.getValueAxisLabelFont());
    valueAxisLabelColor = plot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = new JRBaseFont(plot.getChart(), plot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = plot.getOwnValueAxisTickLabelColor();
    valueAxisLineColor = plot.getOwnValueAxisLineColor();
  }
View Full Code Here

   *
   */
  public JRFillScatterPlot( JRScatterPlot plot, JRFillObjectFactory factory ){
    super( plot, factory );
   
    xAxisLabelFont = new JRBaseFont(plot.getChart(), plot.getXAxisLabelFont());
    xAxisLabelColor = plot.getOwnXAxisLabelColor();
    xAxisTickLabelFont = new JRBaseFont(plot.getChart(), plot.getXAxisTickLabelFont());
    xAxisTickLabelColor = plot.getOwnXAxisTickLabelColor();
    xAxisLineColor = plot.getOwnXAxisLineColor();
   
    yAxisLabelFont = new JRBaseFont(plot.getChart(), plot.getYAxisLabelFont());
    yAxisLabelColor = plot.getOwnYAxisLabelColor();
    yAxisTickLabelFont = new JRBaseFont(plot.getChart(), plot.getYAxisTickLabelFont());
    yAxisTickLabelColor = plot.getOwnYAxisTickLabelColor();
    yAxisLineColor = plot.getOwnYAxisLineColor();
  }
View Full Code Here

    super(plot, chart);
   
    JRScatterPlot scatterPlot = plot instanceof JRScatterPlot ? (JRScatterPlot)plot : null;
    if (scatterPlot == null)
    {
      xAxisLabelFont = new JRBaseFont(chart, null);
      xAxisTickLabelFont = new JRBaseFont(chart, null);
      yAxisLabelFont = new JRBaseFont(chart, null);
      yAxisTickLabelFont = new JRBaseFont(chart, null);
    }
    else
    {
      xAxisLabelFont = new JRBaseFont(chart, scatterPlot.getXAxisLabelFont());
      xAxisTickLabelFont = new JRBaseFont(chart, scatterPlot.getXAxisTickLabelFont());
      yAxisLabelFont = new JRBaseFont(chart, scatterPlot.getYAxisLabelFont());
      yAxisTickLabelFont = new JRBaseFont(chart, scatterPlot.getYAxisTickLabelFont());
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.base.JRBaseFont

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.