Main Page
Namespaces
Classes
Package Documentation
Fireworks
TableWidget
src
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
27
#include "
Fireworks/TableWidget/interface/FWTableManagerBase.h
"
28
29
// forward declarations
30
class
FWColumnLabelCellRenderer
;
31
32
class
FWAdapterHeaderTableManager
:
public
FWTableManagerBase
{
33
public
:
34
FWAdapterHeaderTableManager
(
const
FWTableManagerBase
*);
35
~FWAdapterHeaderTableManager
()
override
;
36
37
// ---------- const member functions ---------------------
38
int
numberOfRows
()
const override
;
39
int
numberOfColumns
()
const override
;
40
std::vector<std::string>
getTitles
()
const override
;
41
FWTableCellRendererBase
*
cellRenderer
(
int
iRow,
int
iCol)
const override
;
42
int
unsortedRowNumber
(
int
)
const override
;
43
44
// ---------- static member functions --------------------
45
46
// ---------- member functions ---------------------------
47
void
implSort
(
int
col
,
bool
sortOrder
)
override
;
48
49
private
:
50
FWAdapterHeaderTableManager
(
const
FWAdapterHeaderTableManager
&) =
delete
;
// stop default
51
52
const
FWAdapterHeaderTableManager
&
operator=
(
const
FWAdapterHeaderTableManager
&) =
delete
;
// stop default
53
54
// ---------- member data --------------------------------
55
const
FWTableManagerBase
*
m_table
;
56
FWColumnLabelCellRenderer
*
m_renderer
;
57
int
m_sortedColumn
;
58
bool
m_descendingSort
;
59
};
60
61
#endif
FWAdapterHeaderTableManager::FWAdapterHeaderTableManager
FWAdapterHeaderTableManager(const FWTableManagerBase *)
Definition:
FWAdapterHeaderTableManager.cc:29
FWTableManagerBase::sortOrder
bool sortOrder(void)
The current sort order for the table.
Definition:
FWTableManagerBase.h:102
FWColumnLabelCellRenderer
Definition:
FWColumnLabelCellRenderer.h:30
FWAdapterHeaderTableManager::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:
FWAdapterHeaderTableManager.cc:70
FWAdapterHeaderTableManager::numberOfColumns
int numberOfColumns() const override
Number of columns in the table.
Definition:
FWAdapterHeaderTableManager.cc:68
FWAdapterHeaderTableManager::m_renderer
FWColumnLabelCellRenderer * m_renderer
Definition:
FWAdapterHeaderTableManager.h:56
FWAdapterHeaderTableManager::getTitles
std::vector< std::string > getTitles() const override
returns the title names for each column
Definition:
FWAdapterHeaderTableManager.cc:72
FWTableManagerBase
Definition:
FWTableManagerBase.h:44
FWAdapterHeaderTableManager
Definition:
FWAdapterHeaderTableManager.h:32
FWAdapterHeaderTableManager::cellRenderer
FWTableCellRendererBase * cellRenderer(int iRow, int iCol) const override
Definition:
FWAdapterHeaderTableManager.cc:74
FWAdapterHeaderTableManager::m_sortedColumn
int m_sortedColumn
Definition:
FWAdapterHeaderTableManager.h:57
FWTableManagerBase.h
FWAdapterHeaderTableManager::operator=
const FWAdapterHeaderTableManager & operator=(const FWAdapterHeaderTableManager &)=delete
FWAdapterHeaderTableManager::m_table
const FWTableManagerBase * m_table
Definition:
FWAdapterHeaderTableManager.h:55
FWAdapterHeaderTableManager::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:
FWAdapterHeaderTableManager.cc:58
FWTableCellRendererBase
Definition:
FWTableCellRendererBase.h:44
FWAdapterHeaderTableManager::numberOfRows
int numberOfRows() const override
Number of rows in the table.
Definition:
FWAdapterHeaderTableManager.cc:66
FWAdapterHeaderTableManager::~FWAdapterHeaderTableManager
~FWAdapterHeaderTableManager() override
Definition:
FWAdapterHeaderTableManager.cc:41
cuy.col
col
Definition:
cuy.py:1010
FWAdapterHeaderTableManager::m_descendingSort
bool m_descendingSort
Definition:
FWAdapterHeaderTableManager.h:58
Generated for CMSSW Reference Manual by
1.8.11