CMS 3D CMS Logo

FWAdapterHeaderTableManager.h
Go to the documentation of this file.
1 #ifndef Fireworks_TableWidget_FWAdapterHeaderTableManager_h
2 #define Fireworks_TableWidget_FWAdapterHeaderTableManager_h
3 // -*- C++ -*-
4 //
5 // Package: TableWidget
6 // Class : FWAdapterHeaderTableManager
7 //
19 //
20 // Original Author: Chris Jones
21 // Created: Mon Feb 2 16:44:43 EST 2009
22 //
23 
24 // system include files
25 
26 // user include files
28 
29 // forward declarations
31 
33 {
34 
35  public:
38 
39  // ---------- const member functions ---------------------
40  int numberOfRows() const override ;
41  int numberOfColumns() const override ;
42  std::vector<std::string> getTitles() const override;
43  FWTableCellRendererBase* cellRenderer(int iRow, int iCol) const override;
44  int unsortedRowNumber(int) const override;
45 
46  // ---------- static member functions --------------------
47 
48  // ---------- member functions ---------------------------
49  void implSort(int col, bool sortOrder) override ;
50 
51  private:
52  FWAdapterHeaderTableManager(const FWAdapterHeaderTableManager&) = delete; // stop default
53 
54  const FWAdapterHeaderTableManager& operator=(const FWAdapterHeaderTableManager&) = delete; // stop default
55 
56  // ---------- member data --------------------------------
61 
62 };
63 
64 
65 #endif
FWAdapterHeaderTableManager(const FWTableManagerBase *)
bool sortOrder(void)
The current sort order for the table.
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...
int numberOfColumns() const override
Number of columns in the table.
FWColumnLabelCellRenderer * m_renderer
std::vector< std::string > getTitles() const override
returns the title names for each column
FWTableCellRendererBase * cellRenderer(int iRow, int iCol) const override
const FWAdapterHeaderTableManager & operator=(const FWAdapterHeaderTableManager &)=delete
const FWTableManagerBase * m_table
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;...
int numberOfRows() const override
Number of rows in the table.
col
Definition: cuy.py:1008