|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.data.general.AbstractDataset org.jfree.data.category.DefaultCategoryDataset net.sf.magicproject.chart.datasets.CategoryDataset
public class CategoryDataset
Constructor Summary | |
---|---|
CategoryDataset(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.category.DefaultCategoryDataset |
---|
addValue, addValue, clear, equals, getColumnCount, getColumnIndex, getColumnKey, getColumnKeys, getRowCount, getRowIndex, getRowKey, getRowKeys, getValue, getValue, hashCode, incrementValue, removeColumn, removeColumn, removeRow, removeRow, removeValue, setValue, setValue |
Methods inherited from class org.jfree.data.general.AbstractDataset |
---|
addChangeListener, clone, getGroup, hasListener, removeChangeListener, setGroup, validateObject |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jfree.data.general.Dataset |
---|
addChangeListener, getGroup, removeChangeListener, setGroup |
Constructor Detail |
---|
public CategoryDataset(IDataProvider provider, ChartFilter filter)
provider
- the key provider.filter
- the filter attached to this dataset.Method Detail |
---|
public void addCard(CardModel cardModel, int amount)
cardModel
- the card to add.amount
- the amount of card to add.public void removeCard(CardModel cardModel, int amount)
cardModel
- the card to remove.amount
- the amount of card to remove.public void removeAll()
Dataset
public void setValue(IChartKey key, java.lang.Integer value)
Dataset
DatasetChangeEvent
to all registered
listeners.
key
- the key (null
not permitted).value
- the value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |