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 public:
35 
36  // ---------- const member functions ---------------------
37  int numberOfRows() const override;
38  int numberOfColumns() const override;
39  std::vector<std::string> getTitles() const override;
40  FWTableCellRendererBase* cellRenderer(int iRow, int iCol) const override;
41  int unsortedRowNumber(int) const override;
42 
43  // ---------- static member functions --------------------
44 
45  // ---------- member functions ---------------------------
46  void implSort(int col, bool sortOrder) override;
47 
48 private:
49  FWAdapterRowHeaderTableManager(const FWAdapterRowHeaderTableManager&) = delete; // stop default
50 
51  const FWAdapterRowHeaderTableManager& operator=(const FWAdapterRowHeaderTableManager&) = delete; // stop default
52 
53  // ---------- member data --------------------------------
55 };
56 
57 #endif
cuy.col
col
Definition: cuy.py:1010
FWAdapterRowHeaderTableManager::getTitles
std::vector< std::string > getTitles() const override
returns the title names for each column
Definition: FWAdapterRowHeaderTableManager.cc:70
FWAdapterRowHeaderTableManager
Definition: FWAdapterRowHeaderTableManager.h:31
FWAdapterRowHeaderTableManager::cellRenderer
FWTableCellRendererBase * cellRenderer(int iRow, int iCol) const override
Definition: FWAdapterRowHeaderTableManager.cc:75
FWAdapterRowHeaderTableManager::m_table
const FWTableManagerBase * m_table
Definition: FWAdapterRowHeaderTableManager.h:54
FWTableManagerBase
Definition: FWTableManagerBase.h:44
FWAdapterRowHeaderTableManager::numberOfRows
int numberOfRows() const override
Number of rows in the table.
Definition: FWAdapterRowHeaderTableManager.cc:64
FWAdapterRowHeaderTableManager::~FWAdapterRowHeaderTableManager
~FWAdapterRowHeaderTableManager() override
Definition: FWAdapterRowHeaderTableManager.cc:42
FWTableCellRendererBase
Definition: FWTableCellRendererBase.h:44
FWTableManagerBase::sortOrder
bool sortOrder(void)
The current sort order for the table.
Definition: FWTableManagerBase.h:102
FWAdapterRowHeaderTableManager::unsortedRowNumber
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...
Definition: FWAdapterRowHeaderTableManager.cc:68
FWAdapterRowHeaderTableManager::FWAdapterRowHeaderTableManager
FWAdapterRowHeaderTableManager(FWTableManagerBase *)
Definition: FWAdapterRowHeaderTableManager.cc:29
FWAdapterRowHeaderTableManager::operator=
const FWAdapterRowHeaderTableManager & operator=(const FWAdapterRowHeaderTableManager &)=delete
FWAdapterRowHeaderTableManager::numberOfColumns
int numberOfColumns() const override
Number of columns in the table.
Definition: FWAdapterRowHeaderTableManager.cc:66
FWAdapterRowHeaderTableManager::implSort
void implSort(int col, bool sortOrder) override
Called by 'sort' method to actually handle the sorting of the rows. Arguments are the same as 'sort'.
Definition: FWAdapterRowHeaderTableManager.cc:59
FWTableManagerBase.h