|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BasicChartModel
BasicChartModel provides a chart model.
| Method Summary | |
|---|---|
void |
addBasicChartModelListener(BasicChartModelListener l)
Adds a BasicChartModelListener to the model's listener list. |
int |
getCategoryCount()
Returns the category count for this model. |
String |
getCategoryName(int category)
Returns the category name of the specified index. |
int |
getSeriesCount()
Returns the series count for this model. |
String |
getSeriesName(int series)
Returns the series name of the specified index. |
Number |
getValue(int category,
int series)
Returns the value for the specified category and series index. |
void |
removeBasicChartModelListener(BasicChartModelListener l)
Removes a BasicChartModelListener from the model's listener list. |
void |
setCategoryName(String name,
int category)
Sets the category name of the specified index. |
void |
setSeriesName(String name,
int series)
Sets the series name of the specified index. |
void |
setValue(Number value,
int category,
int series)
Sets the value for the specified category and series index. |
| Method Detail |
|---|
int getCategoryCount()
int getSeriesCount()
String getCategoryName(int category)
category - the category index
void setCategoryName(String name,
int category)
name - the category namecategory - the category indexString getSeriesName(int series)
series - the series index
void setSeriesName(String name,
int series)
name - the series nameseries - the series index
Number getValue(int category,
int series)
category - the category indexseries - the series index
void setValue(Number value,
int category,
int series)
value - the valuecategory - the category indexseries - the series indexvoid addBasicChartModelListener(BasicChartModelListener l)
BasicChartModelListener to the model's listener list. The
BasicChartModelListeners must be notified when models value
changes.
l - the BasicChartModelListener to addremoveBasicChartModelListener(com.zfqjava.swing.event.BasicChartModelListener)void removeBasicChartModelListener(BasicChartModelListener l)
BasicChartModelListener from the model's listener list.
l - the BasicChartModelListener to removeaddBasicChartModelListener(com.zfqjava.swing.event.BasicChartModelListener)
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||