Charts.java :  » Report » jmagallanes-1.0 » com » calipso » reportgenerator » userinterface » Java Open Source

Java Open Source » Report » jmagallanes 1.0 
jmagallanes 1.0 » com » calipso » reportgenerator » userinterface » Charts.java
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;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.