Package net.sf.jasperreports.engine.base

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


    super(plot, chart);
   
    JRCandlestickPlot candlestickPlot = plot instanceof JRCandlestickPlot ? (JRCandlestickPlot)plot : null;
    if (candlestickPlot == null)
    {
      timeAxisLabelFont = new JRBaseFont(chart, null);
      timeAxisTickLabelFont = new JRBaseFont(chart, null);
      valueAxisLabelFont = new JRBaseFont(chart, null);
      valueAxisTickLabelFont = new JRBaseFont(chart, null);
    }
    else
    {
      timeAxisLabelFont = new JRBaseFont(chart, candlestickPlot.getTimeAxisLabelFont());
      timeAxisTickLabelFont = new JRBaseFont(chart, candlestickPlot.getTimeAxisTickLabelFont());
      valueAxisLabelFont = new JRBaseFont(chart, candlestickPlot.getValueAxisLabelFont());
      valueAxisTickLabelFont = new JRBaseFont(chart, candlestickPlot.getValueAxisTickLabelFont());
    }
  }
View Full Code Here


    super(candlestickPlot, factory);

    showVolume = candlestickPlot.getShowVolume();

    timeAxisLabelExpression = factory.getExpression( candlestickPlot.getTimeAxisLabelExpression() );
    timeAxisLabelFont = new JRBaseFont(candlestickPlot.getChart(), candlestickPlot.getTimeAxisLabelFont());
    timeAxisLabelColor = candlestickPlot.getOwnTimeAxisLabelColor();
    timeAxisTickLabelFont = new JRBaseFont(candlestickPlot.getChart(), candlestickPlot.getTimeAxisTickLabelFont());
    timeAxisTickLabelColor = candlestickPlot.getOwnTimeAxisTickLabelColor();
    timeAxisTickLabelMask = candlestickPlot.getTimeAxisTickLabelMask();
    timeAxisVerticalTickLabels = candlestickPlot.getTimeAxisVerticalTickLabels();
    timeAxisLineColor = candlestickPlot.getOwnTimeAxisLineColor();
   
    valueAxisLabelExpression = factory.getExpression( candlestickPlot.getValueAxisLabelExpression() );
    domainAxisMinValueExpression = factory.getExpression( candlestickPlot.getDomainAxisMinValueExpression() );
    domainAxisMaxValueExpression = factory.getExpression( candlestickPlot.getDomainAxisMaxValueExpression() );
    rangeAxisMinValueExpression = factory.getExpression( candlestickPlot.getRangeAxisMinValueExpression() );
    rangeAxisMaxValueExpression = factory.getExpression( candlestickPlot.getRangeAxisMaxValueExpression() );
    valueAxisLabelFont = new JRBaseFont(candlestickPlot.getChart(), candlestickPlot.getValueAxisLabelFont());
    valueAxisLabelColor = candlestickPlot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = new JRBaseFont(candlestickPlot.getChart(), candlestickPlot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = candlestickPlot.getOwnValueAxisTickLabelColor();
    valueAxisTickLabelMask = candlestickPlot.getValueAxisTickLabelMask();
    valueAxisVerticalTickLabels = candlestickPlot.getValueAxisVerticalTickLabels();
    valueAxisLineColor = candlestickPlot.getOwnValueAxisTickLabelColor();
  }
View Full Code Here

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

    xOffsetDouble = barPlot.getXOffsetDouble();
    yOffsetDouble = barPlot.getYOffsetDouble();
    showLabels = barPlot.getShowLabels();
   
    categoryAxisLabelExpression = factory.getExpression( barPlot.getCategoryAxisLabelExpression() );
    categoryAxisLabelFont = new JRBaseFont(barPlot.getChart(), barPlot.getCategoryAxisLabelFont());
    categoryAxisLabelColor = barPlot.getOwnCategoryAxisLabelColor();
    categoryAxisTickLabelFont = new JRBaseFont(barPlot.getChart(), barPlot.getCategoryAxisTickLabelFont());
    categoryAxisTickLabelColor = barPlot.getOwnCategoryAxisTickLabelColor();
    categoryAxisTickLabelMask = barPlot.getCategoryAxisTickLabelMask();
    categoryAxisVerticalTickLabels = barPlot.getCategoryAxisVerticalTickLabels();
    categoryAxisLineColor = barPlot.getOwnCategoryAxisLineColor();
    labelRotationDouble = barPlot.getCategoryAxisTickLabelRotation();
   
    valueAxisLabelExpression = factory.getExpression( barPlot.getValueAxisLabelExpression() );
    domainAxisMinValueExpression = factory.getExpression( barPlot.getDomainAxisMinValueExpression() );
    domainAxisMaxValueExpression = factory.getExpression( barPlot.getDomainAxisMaxValueExpression() );
    rangeAxisMinValueExpression = factory.getExpression( barPlot.getRangeAxisMinValueExpression() );
    rangeAxisMaxValueExpression = factory.getExpression( barPlot.getRangeAxisMaxValueExpression() );
    valueAxisLabelFont = new JRBaseFont(barPlot.getChart(), barPlot.getValueAxisLabelFont());
    valueAxisLabelColor = barPlot.getOwnValueAxisLabelColor();
    valueAxisTickLabelFont = new JRBaseFont(barPlot.getChart(), barPlot.getValueAxisTickLabelFont());
    valueAxisTickLabelColor = barPlot.getOwnValueAxisTickLabelColor();
    valueAxisTickLabelMask = barPlot.getValueAxisTickLabelMask();
    valueAxisVerticalTickLabels = barPlot.getValueAxisVerticalTickLabels();
    valueAxisLineColor = barPlot.getOwnValueAxisLineColor();
    itemLabel = new JRBaseItemLabel(barPlot.getItemLabel(), factory);
View Full Code Here

   *
   */
  public JRFillTimeSeriesPlot( JRTimeSeriesPlot plot, JRFillObjectFactory factory ){
    super( plot, factory );

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

  {
    this.chart = chart;
   
    if (itemLabel == null)
    {
      font = new JRBaseFont(chart, null);
      color = chart.getForecolor();
      backgroundColor = chart.getBackcolor();
    }
    else
    {
      color = itemLabel.getColor();
      backgroundColor = itemLabel.getBackgroundColor();
//      mask = itemLabel.getMask();
      font = new JRBaseFont(itemLabel.getChart(), itemLabel.getFont());
    }
  }
View Full Code Here

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

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

    JRFillObjectFactory factory
    )
  {
    super(candlestickPlot, factory);

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

   
    JRMeterPlot meterPlot = plot instanceof JRMeterPlot ? (JRMeterPlot)plot : null;
    if (meterPlot == null)
    {
      valueDisplay = new JRBaseValueDisplay(null, chart);
      tickLabelFont = new JRBaseFont(chart, null);
    }
    else
    {
      valueDisplay = new JRBaseValueDisplay(meterPlot.getValueDisplay(), chart);
      tickLabelFont = new JRBaseFont(chart, meterPlot.getTickLabelFont());
    }
  }
View Full Code Here

    tickIntervalDouble = meterPlot.getTickIntervalDouble();

    meterBackgroundColor = meterPlot.getMeterBackgroundColor();
    needleColor = meterPlot.getNeedleColor();
    tickColor = meterPlot.getTickColor();
    tickLabelFont = new JRBaseFont(this.getChart(), meterPlot.getTickLabelFont());
  }
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.