|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.swing.AbstractBasicChartModel
com.zfqjava.swing.TableBasicChartModel
public class TableBasicChartModel
BasicChartModel provides a chart model.
| Field Summary |
|---|
| Fields inherited from class com.zfqjava.swing.AbstractBasicChartModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
TableBasicChartModel(TableModel model,
Cell c)
|
|
| Method Summary | |
|---|---|
void |
cellChanged(DataGridModelEvent e)
Invoked after the cell class, attributes, editable, cell span have been changed. |
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 |
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. |
void |
tableChanged(TableModelEvent e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableBasicChartModel(TableModel model,
Cell c)
| Method Detail |
|---|
public int getCategoryCount()
BasicChartModel
getCategoryCount in interface BasicChartModelpublic int getSeriesCount()
BasicChartModel
getSeriesCount in interface BasicChartModelpublic String getCategoryName(int category)
BasicChartModel
getCategoryName in interface BasicChartModelcategory - the category index
public void setCategoryName(String name,
int category)
BasicChartModel
setCategoryName in interface BasicChartModelname - the category namecategory - the category indexpublic String getSeriesName(int series)
BasicChartModel
getSeriesName in interface BasicChartModelseries - the series index
public void setSeriesName(String name,
int series)
BasicChartModel
setSeriesName in interface BasicChartModelname - the series nameseries - the series index
public Number getValue(int category,
int series)
BasicChartModel
getValue in interface BasicChartModelcategory - the category indexseries - the series index
public void setValue(Number value,
int category,
int series)
BasicChartModel
setValue in interface BasicChartModelvalue - the valuecategory - the category indexseries - the series indexpublic void tableChanged(TableModelEvent e)
tableChanged in interface TableModelListenerpublic void cellChanged(DataGridModelEvent e)
DataGridModelListener
cellChanged in interface DataGridModelListener
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||