LibreOffice Module toolkit (master) 1
|
declares an interface to be implemented by components interested in changes in an ->ITableModel More...
#include <tablemodel.hxx>
Public Member Functions | |
virtual void | rowsInserted (RowPos first, RowPos last)=0 |
notifies the listener that one or more rows have been inserted into the table More... | |
virtual void | rowsRemoved (RowPos first, RowPos last)=0 |
notifies the listener that one or more rows have been removed from the table More... | |
virtual void | columnInserted ()=0 |
notifies the listener that one or more columns have been inserted into the table More... | |
virtual void | columnRemoved ()=0 |
notifies the listener that one or more columns have been removed from the table More... | |
virtual void | allColumnsRemoved ()=0 |
notifies the listener that all columns have been removed from the model More... | |
virtual void | cellsUpdated (RowPos const i_firstRow, RowPos const i_lastRow)=0 |
notifies the listener that a rectangular cell range in the table has been updated More... | |
virtual void | columnChanged (ColPos const i_column, ColumnAttributeGroup const i_attributeGroup)=0 |
notifies the listener that attributes of a given column changed More... | |
virtual void | tableMetricsChanged ()=0 |
notifies the listener that the metrics of the table changed. More... | |
virtual | ~ITableModelListener () |
deletes the listener instance More... | |
declares an interface to be implemented by components interested in changes in an ->ITableModel
Definition at line 81 of file tablemodel.hxx.
|
inlinevirtual |
deletes the listener instance
Definition at line 148 of file tablemodel.hxx.
|
pure virtual |
notifies the listener that all columns have been removed from the model
Implemented in svt::table::TableControl_Impl.
|
pure virtual |
notifies the listener that a rectangular cell range in the table has been updated
Listeners are required to discard any possibly cached information they have about the cells in question, in particular any possibly cached cell values.
Implemented in svt::table::TableControl_Impl.
|
pure virtual |
notifies the listener that attributes of a given column changed
i_column | the position of the column whose attributes changed |
i_attributeGroup | a combination of one or more COL_ATTRS_* flags, denoting the attribute group(s) in which changes occurred. |
Implemented in svt::table::TableControl_Impl.
|
pure virtual |
notifies the listener that one or more columns have been inserted into the table
Implemented in svt::table::TableControl_Impl.
|
pure virtual |
notifies the listener that one or more columns have been removed from the table
Implemented in svt::table::TableControl_Impl.
|
pure virtual |
notifies the listener that one or more rows have been inserted into the table
first | the index of the first newly inserted row |
last | the index of the last newly inserted row. Must not be smaller than ->first |
Implemented in svt::table::TableControl_Impl.
|
pure virtual |
notifies the listener that one or more rows have been removed from the table
first | the old index of the first removed row. If this is -1 , then all rows have been removed from the model. |
last | the old index of the last removed row. Must not be smaller than ->first |
Implemented in svt::table::TableControl_Impl.
|
pure virtual |
notifies the listener that the metrics of the table changed.
Metrics here include the column header height, the row header width, the row height, and the presence of both the row and column header.
Implemented in svt::table::TableControl_Impl.