CMS 3D CMS Logo

FWAdapterRowHeaderTableManager.h
Go to the documentation of this file.
1 #ifndef Fireworks_TableWidget_FWAdapterRowHeaderTableManager_h
2 #define Fireworks_TableWidget_FWAdapterRowHeaderTableManager_h
3 // -*- C++ -*-
4 //
5 // Package: TableWidget
6 // Class : FWAdapterRowHeaderTableManager
7 //
19 //
20 // Original Author: Chris Jones
21 // Created: Mon Feb 2 16:44:59 EST 2009
22 //
23 
24 // system include files
25 
26 // user include files
28 
29 // forward declarations
30 
32 {
33 
34  public:
37 
38  // ---------- const member functions ---------------------
39  int numberOfRows() const override ;
40  int numberOfColumns() const override ;
41  std::vector<std::string> getTitles() const override;
42  FWTableCellRendererBase* cellRenderer(int iRow, int iCol) const override;
43  int unsortedRowNumber(int) const override;
44 
45  // ---------- static member functions --------------------
46 
47  // ---------- member functions ---------------------------
48  void implSort(int col, bool sortOrder) override ;
49 
50  private:
51  FWAdapterRowHeaderTableManager(const FWAdapterRowHeaderTableManager&) = delete; // stop default
52 
53  const FWAdapterRowHeaderTableManager& operator=(const FWAdapterRowHeaderTableManager&) = delete; // stop default
54 
55  // ---------- member data --------------------------------
57 
58 };
59 
60 
61 #endif
std::vector< std::string > getTitles() const override
returns the title names for each column
int numberOfRows() const override
Number of rows in the table.
bool sortOrder(void)
The current sort order for the table.
FWTableCellRendererBase * cellRenderer(int iRow, int iCol) const override
int unsortedRowNumber(int) const override
when passed the index to the sorted order of the rows it returns the original row number from the und...
void implSort(int col, bool sortOrder) override
Called by &#39;sort&#39; method to actually handle the sorting of the rows. Arguments are the same as &#39;sort&#39;...
col
Definition: cuy.py:1008
int numberOfColumns() const override
Number of columns in the table.
const FWAdapterRowHeaderTableManager & operator=(const FWAdapterRowHeaderTableManager &)=delete