net.sf.magicproject.chart.datasets
Interface Dataset


public interface Dataset


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.
 

Method Detail

addCard

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

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

void setValue(IChartKey key,
              java.lang.Integer value)
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

void removeAll()
Remove all data from this dataset.



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