Go to the documentation of this file.
67 Emit(
"dataChanged()");
90 std::vector<unsigned int> returnValue;
96 for (
int row = 0; row < numRows; ++row) {
102 returnValue.push_back(
max);
virtual FWTableCellRendererBase * cellRenderer(int iSortedRowNumber, int iCol) const =0
void sort(int iCol, bool iSortOrder)
Call to have table sorted on values in column iCol with the sort order being descending if iSortOrder...
virtual void buttonReleasedInRowHeader(Int_t row, Event_t *event, Int_t relX, Int_t relY)
ClassImp(FWTableManagerBase)
virtual UInt_t width() const =0
returns the minimum width of the cell to which the renderer is representing
virtual void buttonPressedInRowHeader(Int_t row, Event_t *event, Int_t relX, Int_t relY)
Called if mouse button pressed in Row Header, defaults is to do nothing.
virtual int numberOfRows() const =0
Number of rows in the table.
void visualPropertiesChanged()
Classes which inherit from FWTableManagerBase must call this when how the data is shown (e....
virtual bool hasRowHeaders() const
Returns 'true' if this table has row headers. Defaults return value is false.
~FWTableManagerBase() override
virtual bool hasLabelHeaders() const
void dataChanged()
Classes which inherit from FWTableManagerBase must call this when their underlying data changes.
virtual int numberOfColumns() const =0
Number of columns in the table.
virtual void implSort(int iCol, bool iSortOrder)=0
Called by 'sort' method to actually handle the sorting of the rows. Arguments are the same as 'sort'.
virtual UInt_t height() const =0
returns the minimum height of the cell to which the renderer is representing
bool sortOrder(void)
The current sort order for the table.
virtual FWTableCellRendererBase * rowHeader(int iSortedRowNumber) const
Returns the renderer for the row header for the sorted row number iSortedRowNumber.
virtual unsigned int cellHeight() const
require all cells to be the same height
virtual std::vector< unsigned int > maxWidthForColumns() const
for each column in the table this returns the present maximum width for that column