|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataModel
General data model interface, which contains common methods description for all data models.
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ChartDataModelListener listener)
Adds the specified chart data model listener to receive chart data model change events from this chart data model. |
ArrayDataModel |
castToArray()
Casts the data model to array. |
MatrixDataModel |
castToMatrix()
Casts the data model to matrix. |
void |
dispose()
Disposes data model |
void |
fireDataChanged(DataModelChangeEvent event)
Fires notification that data model has changed. |
DataModelDimensions |
getAddressDimensions()
Address dimensions, which shows if the model is array or matrix. |
int |
getValuesInPoint()
Gets the count of the data columns at each point in the data model. |
boolean |
hasColumn(DataColumnType type)
Returns flag showing if this data model contains column of the given type. |
void |
removeListener(ChartDataModelListener listener)
Removes the specified chart data model listener so that it no longer receives chart data model change events from this chart data model. |
| Method Detail |
|---|
void addListener(ChartDataModelListener listener)
listener - the chart data model listenervoid removeListener(ChartDataModelListener listener)
listener - the chart data model listenerDataModelDimensions getAddressDimensions()
int getValuesInPoint()
ArrayDataModel castToArray()
MatrixDataModel castToMatrix()
void fireDataChanged(DataModelChangeEvent event)
event - data change eventvoid dispose()
boolean hasColumn(DataColumnType type)
type - data column typetrue if column with the given type exists.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||