package com.calipso.reportgenerator.userinterface;
import org.jfree.data.category.CategoryDataset;
import javax.swing.*;
import java.awt.*;
/**
*
* User: Breto
* Date: Mar 11, 2004
* Time: 2:27:21 PM
*
*/
public class Charts extends JPanel{
protected String tittle;
protected Color color;
protected boolean legend;
protected boolean toolTips;
protected Dimension size;
protected CategoryDataset dataset;
private boolean multipleAxis;
public Charts(CategoryDataset dataset, String tittle, Color color, boolean legend, boolean toolTips, Dimension size, boolean multipleAxis) {
this.tittle = tittle;
this.color = color;
this.legend = legend;
this.toolTips = toolTips;
this.size = size;
this.dataset = dataset;
this.multipleAxis = multipleAxis;
}
public String getTittle() {
return tittle;
}
public Color getColor() {
return color;
}
public boolean isLegend() {
return legend;
}
public boolean isToolTips() {
return toolTips;
}
public Dimension getSize() {
return size;
}
public CategoryDataset getDataset() {
return dataset;
}
public boolean isMultipleAxis() {
return multipleAxis;
}
}
|