net.sf.magicproject.chart.datasets
Class HistogramDataset

java.lang.Object
  extended by org.jfree.data.general.AbstractDataset
      extended by org.jfree.data.general.AbstractSeriesDataset
          extended by org.jfree.data.xy.AbstractXYDataset
              extended by org.jfree.data.xy.AbstractIntervalXYDataset
                  extended by org.jfree.data.statistics.HistogramDataset
                      extended by net.sf.magicproject.chart.datasets.HistogramDataset
All Implemented Interfaces:
java.io.ObjectInputValidation, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, org.jfree.data.general.Dataset, org.jfree.data.general.SeriesChangeListener, org.jfree.data.general.SeriesDataset, org.jfree.data.xy.IntervalXYDataset, org.jfree.data.xy.XYDataset, org.jfree.util.PublicCloneable

public class HistogramDataset
extends org.jfree.data.statistics.HistogramDataset
implements Dataset

See Also:
Serialized Form

Constructor Summary
HistogramDataset(IDataProvider provider, ChartFilter filter)
          Create a new instance of this class.
 
Method Summary
 void addCard(CardModel cardModel, int amount)
          Add cards to all datasets.
 void removeAll()
          Remove all data from this dataset.
 void removeCard(CardModel cardModel, int amount)
          Remove cards to all datasets.
 void setValue(IChartKey key, java.lang.Integer value)
          Sets the data value for a key and sends a DatasetChangeEvent to all registered listeners.
 
Methods inherited from class org.jfree.data.statistics.HistogramDataset
addSeries, addSeries, clone, equals, getBins, getEndX, getEndY, getItemCount, getSeriesCount, getSeriesKey, getStartX, getStartY, getType, getX, getY, setType
 
Methods inherited from class org.jfree.data.xy.AbstractIntervalXYDataset
getEndXValue, getEndYValue, getStartXValue, getStartYValue
 
Methods inherited from class org.jfree.data.xy.AbstractXYDataset
getDomainOrder, getXValue, getYValue
 
Methods inherited from class org.jfree.data.general.AbstractSeriesDataset
indexOf, seriesChanged
 
Methods inherited from class org.jfree.data.general.AbstractDataset
addChangeListener, getGroup, hasListener, removeChangeListener, setGroup, validateObject
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jfree.data.xy.IntervalXYDataset
getEndXValue, getEndYValue, getStartXValue, getStartYValue
 
Methods inherited from interface org.jfree.data.xy.XYDataset
getDomainOrder, getXValue, getYValue
 
Methods inherited from interface org.jfree.data.general.SeriesDataset
indexOf
 
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
 

Constructor Detail

HistogramDataset

public HistogramDataset(IDataProvider provider,
                        ChartFilter filter)
Create a new instance of this class.

Parameters:
provider - the key provider.
filter - the filter attached to this dataset.
Method Detail

addCard

public void addCard(CardModel cardModel,
                    int amount)
Add cards to all datasets.

Parameters:
cardModel - the card to add.
amount - the amount of card to add.

removeCard

public void removeCard(CardModel cardModel,
                       int amount)
Remove cards to all datasets.

Parameters:
cardModel - the card to remove.
amount - the amount of card to remove.

setValue

public void setValue(IChartKey key,
                     java.lang.Integer value)
Description copied from interface: Dataset
Sets the data value for a key and sends a DatasetChangeEvent to all registered listeners.

Parameters:
key - the key (null not permitted).
value - the value.

removeAll

public void removeAll()
Description copied from interface: Dataset
Remove all data from this dataset.



Copyright © 2003-2007 Magic-Project. All Rights Reserved.