net.sf.magicproject.chart
Class ChartSets

java.lang.Object
  extended by net.sf.magicproject.chart.ChartSets

public class ChartSets
extends java.lang.Object

Since:
0.93
Author:
Fabrice Daugan

Constructor Summary
ChartSets()
          Create a new instance of this class.
 
Method Summary
 void addCard(CardModel cardModel, int amount)
          Add cards to all datasets.
 void addDataSet(ChartFilter filter, Dataset dataSet)
          Add a dataset to this set.
 void initKey(ChartFilter filter, IChartKey key, java.lang.Integer amount)
           
 void removeAll()
          Remove all data from this dataset.
 void removeCard(CardModel cardModel, int amount)
          Remove cards to all datasets.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartSets

public ChartSets()
Create a new instance of this class.

Method Detail

addDataSet

public void addDataSet(ChartFilter filter,
                       Dataset dataSet)
Add a dataset to this set.

Parameters:
filter -
dataSet -

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.

initKey

public void initKey(ChartFilter filter,
                    IChartKey key,
                    java.lang.Integer amount)
Parameters:
filter -
key -
amount -

removeAll

public void removeAll()
Remove all data from this dataset.



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