|
| IliChartDataModel () |
| Constructor of the IliChartDataModel class. More...
|
|
virtual void | addXYValue (const IliDataSetIdentifier &id, IlDouble x, IlDouble y) const |
| Called to add a point in a data source. More...
|
|
virtual void | allRowsDeleted (const IliModelHookInfo &info) |
| Called when the IliTable::clearRows member function is called. More...
|
|
virtual void | cellChanged (const IliModelHookInfo &info) |
| Called just after a cell has changed. More...
|
|
virtual void | columnChanged (const IliModelHookInfo &info) |
| Called when a column has changed. More...
|
|
virtual void | columnDeleted (const IliModelHookInfo &info) |
| Called just after a column deletion. More...
|
|
virtual void | columnInserted (const IliModelHookInfo &info) |
| Called when a new column is inserted. More...
|
|
virtual void | columnMoved (const IliModelHookInfo &info) |
| Called just after a column has moved. More...
|
|
virtual void | columnToBeDeleted (const IliModelHookInfo &info) |
| Called just before a column deletion. More...
|
|
virtual IlInt | computeSeriesCount (IlInt dsi, IlInt row, IliTableBuffer *buff) const |
| Called to compute the series count in a table buffer. More...
|
|
virtual void | computeSeriesName (IlInt dsi, IlInt row, IlInt index, IliTableBuffer *buff, IliString &series) const |
| Called to compute a series name. More...
|
|
virtual IlDouble | computeXValue (IlInt dsi, IlInt row, const IliString &series, IliTableBuffer *buff) const |
| Called to compute the x-axis value for a series. More...
|
|
virtual void | currentRowChanged (const IliModelHookInfo &info) |
| Called when the data source current row has been changed. More...
|
|
virtual void | deleteAllXYValues (const IliDataSetIdentifier &id) const |
| Called to delete all points in a data source. More...
|
|
virtual void | deleteXYValue (const IliDataSetIdentifier &id, IlInt rowno) const |
| Called to delete a point in a data source. More...
|
|
IliChartGraphic * | getChartGraphic () const |
| Returns the IliChartDataModel object which is connected to this model. More...
|
|
virtual IlBoolean | isPointsDataSource (IlInt dsi) const |
| Called to determine if the data source contains some points. More...
|
|
virtual IlDouble | readXValue (const IliDataSetIdentifier &id, IlInt rowno) const |
| Called to read an x-axis value from the data source. More...
|
|
virtual IlDouble | readYValue (const IliDataSetIdentifier &id, IlInt rowno) const |
| Called to read a y-axis value from the data source. More...
|
|
virtual IlBoolean | refreshAll () |
| Called when a refresh of all the gadget is necessary.
|
|
virtual void | rowChanged (const IliModelHookInfo &info) |
| Called just after a row has changed. More...
|
|
virtual void | rowDeleted (const IliModelHookInfo &info) |
| Called just after a row has been deleted. More...
|
|
virtual void | rowFetched (const IliModelHookInfo &info) |
| Called just after a new row has been fetched from a remote database and inserted. More...
|
|
virtual void | rowInserted (const IliModelHookInfo &info) |
| Called just after a new row has been inserted. More...
|
|
virtual void | rowMoved (const IliModelHookInfo &info) |
| Called just after a row has moved. More...
|
|
virtual void | rowsExchanged (const IliModelHookInfo &info) |
| Called just after a row is exchanged with another row. More...
|
|
virtual void | rowsFetched (const IliModelHookInfo &info) |
| Called when many consecutive rows are fetched at once. More...
|
|
virtual void | rowsInserted (const IliModelHookInfo &info) |
| Called when many consecutive rows are inserted at once. More...
|
|
virtual void | rowToBeChanged (const IliModelHookInfo &info) |
| Called just before a row is changed. More...
|
|
virtual void | rowToBeDeleted (const IliModelHookInfo &info) |
| Called just before a row deletion. More...
|
|
virtual void | tableChanged (const IliModelHookInfo &info) |
| Called when the object has undergone a significant number of changes. More...
|
|
virtual void | tableDeleted (const IliModelHookInfo &info) |
| Called when the IliSchema or IliTable object is deleted. More...
|
|
virtual void | writeXYValue (const IliDataSetIdentifier &id, IlInt rowno, IlDouble x, IlDouble y) const |
| Called to update a point in a data source. More...
|
|
| IliGadgetModel () |
| The constructor initializes a new IliGadgetModel instance.
|
|
virtual void | endOfBatch () |
| Called to terminate a series of updates to the IliSchema or IliTable objects. More...
|
|
virtual const char * | getName () const |
| Returns the model name. More...
|
|
virtual void | startOfBatch () |
| Called at the start of a series of updates to the IliSchema or IliTable object. More...
|
|
| IliModel () |
| The constructor initializes a new IliModel instance.
|
|
IlInt | declareProperty (const IliDatatype *typ, const char *name, const char *title, IlBoolean pub) |
| Declares a new property. More...
|
|
virtual void | defineProperties () |
| Called to define the list of properties. More...
|
|
virtual const char * | getLabel () const =0 |
| Returns the model label, it is used by the gadget inspector. More...
|
|
virtual const char * | getMappingInspectorModelName () const |
| Returns the mapping inspector model name. More...
|
|
IlInt | getPropertyCount () const |
| Returns the property count. More...
|
|
IlInt | getPropertyIndex (const char *name) const |
| Returns a property index. More...
|
|
const char * | getPropertyName (IlInt index) const |
| Returns a property name. More...
|
|
const IliValue & | getPropertyValue (const char *name) const |
| Returns a property value. More...
|
|
const IliValue & | getPropertyValue (IlInt index) const |
| Returns a property value. More...
|
|
virtual IlBoolean | isPublic () const |
| Returns the model visibility. More...
|
|
void | setPropertyValue (const char *name, const IliValue &val) |
| Sets a property value. More...
|
|
void | setPropertyValue (IlInt index, const IliValue &val) |
| Sets a property value. More...
|
|
A model class.
Library: dbchart
The class defines a chart data model. A chart data model is used by the IliChartGraphic
class to handle the data of one or several data sources. All chart data models inherit of this class. There are three predefined data model:
-
By row: Each row corresponds to a point for a series. This model uses a data source with three columns:
-
Series, at position 0 when you use the column functions of the chart.
-
x axis, at position 1 when you use the column functions of the chart.
-
value, at position 2 when you use the column functions of the chart.
-
By Column: Each row corresponds to a point for each series for one x-axis value. This model uses a data source with one column for x-axis and one column for each series:
-
x axis, at position 0 when you use the column functions of the chart.
-
series 1, at position 1 when you use the column functions of the chart.
-
series n, at position n when you use the column functions of the chart.
-
By data source: For each series there is a data source which contains all points of the series. Each data source has got two columns:
-
x axis, at position 0 when you use the column functions of the chart.
-
value, at position 1 when you use the column functions of the chart.
- See also
- IliChartGraphic, IliChartSeriesModel, IliModel, IliGadgetModel.