JRFillLinePlot.java
| Index Score | ||
|---|---|---|
![]() |
![]() |
net.sf.jasperreports.charts.fill |
![]() |
![]() |
JasperReports |
View: Reasons, Metrics, Source Code
These are the metrics that contribute to the Enerjy Score for this file, ranked by impact. So the metrics listed at the top influence the score to a greater extent that the metrics listed at the bottom.
/*
* ============================================================================
* GNU Lesser General Public License
* ============================================================================
*
* JasperReports - Free Java report-generating library.
* Copyright (C) 2001-2006 JasperSoft Corporation http://www.jaspersoft.com
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
* JasperSoft Corporation
* 303 Second Street, Suite 450 North
* San Francisco, CA 94107
* http://www.jaspersoft.com
*/
package net.sf.jasperreports.charts.fill;
import java.awt.Color;
import net.sf.jasperreports.charts.JRLinePlot;
import net.sf.jasperreports.engine.JRExpression;
import net.sf.jasperreports.engine.JRFont;
import net.sf.jasperreports.engine.base.JRBaseFont;
import net.sf.jasperreports.engine.fill.JRFillChartPlot;
import net.sf.jasperreports.engine.fill.JRFillObjectFactory;
import net.sf.jasperreports.engine.util.JRStyleResolver;
/**
* @author Flavius Sana (flavius_sana@users.sourceforge.net)
* @version $Id: JRFillLinePlot.java 1577 2007-02-09 11:25:48Z teodord $
*/
public class JRFillLinePlot extends JRFillChartPlot implements JRLinePlot
{
/**
*
*/
protected JRFont categoryAxisLabelFont = null;
protected Color categoryAxisLabelColor = null;
protected JRFont categoryAxisTickLabelFont = null;
protected Color categoryAxisTickLabelColor = null;
protected Color categoryAxisLineColor = null;
protected JRFont valueAxisLabelFont = null;
protected Color valueAxisLabelColor = null;
protected JRFont valueAxisTickLabelFont = null;
protected Color valueAxisTickLabelColor = null;
protected Color valueAxisLineColor = null;
/**
*
*/
public JRFillLinePlot( JRLinePlot plot, JRFillObjectFactory factory )
{
super( plot, factory );
categoryAxisLabelFont = new JRBaseFont(null, null, plot.getChart(), plot.getCategoryAxisLabelFont());
categoryAxisLabelColor = plot.getOwnCategoryAxisLabelColor();
categoryAxisTickLabelFont = new JRBaseFont(null, null, plot.getChart(), plot.getCategoryAxisTickLabelFont());
categoryAxisTickLabelColor = plot.getOwnCategoryAxisTickLabelColor();
categoryAxisLineColor = plot.getOwnCategoryAxisLineColor();
valueAxisLabelFont = new JRBaseFont(null, null, plot.getChart(), plot.getValueAxisLabelFont());
valueAxisLabelColor = plot.getOwnValueAxisLabelColor();
valueAxisTickLabelFont = new JRBaseFont(null, null, plot.getChart(), plot.getValueAxisTickLabelFont());
valueAxisTickLabelColor = plot.getOwnValueAxisTickLabelColor();
valueAxisLineColor = plot.getOwnValueAxisLineColor();
}
/**
*
*/
public JRExpression getCategoryAxisLabelExpression()
{
return ((JRLinePlot)parent).getCategoryAxisLabelExpression();
}
/**
*
*/
public JRFont getCategoryAxisLabelFont()
{
return categoryAxisLabelFont;
}
/**
*
*/
public void setCategoryAxisLabelFont(JRFont font)
{
}
/**
*
*/
public Color getCategoryAxisLabelColor()
{
return JRStyleResolver.getCategoryAxisLabelColor(this, this);
}
/**
*
*/
public Color getOwnCategoryAxisLabelColor()
{
return categoryAxisLabelColor;
}
/**
*
*/
public void setCategoryAxisLabelColor(Color color)
{
}
/**
*
*/
public JRFont getCategoryAxisTickLabelFont()
{
return categoryAxisTickLabelFont;
}
/**
*
*/
public void setCategoryAxisTickLabelFont(JRFont font)
{
}
/**
*
*/
public Color getCategoryAxisTickLabelColor()
{
return JRStyleResolver.getCategoryAxisTickLabelColor(this, this);
}
/**
*
*/
public Color getOwnCategoryAxisTickLabelColor()
{
return categoryAxisTickLabelColor;
}
/**
*
*/
public void setCategoryAxisTickLabelColor(Color color)
{
}
/**
*
*/
public String getCategoryAxisTickLabelMask()
{
return ((JRLinePlot)parent).getCategoryAxisTickLabelMask();
}
/**
*
*/
public void setCategoryAxisTickLabelMask(String mask)
{
}
/**
*
*/
public Color getCategoryAxisLineColor()
{
return JRStyleResolver.getCategoryAxisLineColor(this, this);
}
/**
*
*/
public Color getOwnCategoryAxisLineColor()
{
return categoryAxisLineColor;
}
/**
*
*/
public void setCategoryAxisLineColor(Color color)
{
}
/**
*
*/
public JRExpression getValueAxisLabelExpression()
{
return ((JRLinePlot)parent).getValueAxisLabelExpression();
}
/**
*
*/
public JRFont getValueAxisLabelFont()
{
return valueAxisLabelFont;
}
/**
*
*/
public void setValueAxisLabelFont(JRFont font)
{
}
/**
*
*/
public Color getValueAxisLabelColor()
{
return JRStyleResolver.getValueAxisLabelColor(this, this);
}
/**
*
*/
public Color getOwnValueAxisLabelColor()
{
return valueAxisLabelColor;
}
/**
*
*/
public void setValueAxisLabelColor(Color color)
{
}
/**
*
*/
public JRFont getValueAxisTickLabelFont()
{
return valueAxisTickLabelFont;
}
/**
*
*/
public void setValueAxisTickLabelFont(JRFont font)
{
}
/**
*
*/
public Color getValueAxisTickLabelColor()
{
return JRStyleResolver.getValueAxisTickLabelColor(this, this);
}
/**
*
*/
public Color getOwnValueAxisTickLabelColor()
{
return valueAxisTickLabelColor;
}
/**
*
*/
public void setValueAxisTickLabelColor(Color color)
{
}
/**
*
*/
public String getValueAxisTickLabelMask()
{
return ((JRLinePlot)parent).getValueAxisTickLabelMask();
}
/**
*
*/
public void setValueAxisTickLabelMask(String mask)
{
}
/**
*
*/
public Color getValueAxisLineColor()
{
return JRStyleResolver.getValueAxisLineColor(this, this);
}
/**
*
*/
public Color getOwnValueAxisLineColor()
{
return valueAxisLineColor;
}
/**
*
*/
public void setValueAxisLineColor(Color color)
{
}
/**
*
*/
public boolean isShowShapes(){
return ((JRLinePlot)parent).isShowShapes();
}
/**
*
*/
public void setShowShapes( boolean value ){
}
/**
*
*/
public boolean isShowLines(){
return ((JRLinePlot)parent).isShowLines();
}
/**
*
*/
public void setShowLines( boolean value ){
}
}
The table below shows all metrics for JRFillLinePlot.java.




