Main Page
Namespaces
Classes
Package Documentation
Fireworks
TableWidget
src
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
27
#include "
Fireworks/TableWidget/interface/FWTableManagerBase.h
"
28
29
// forward declarations
30
31
class
FWAdapterRowHeaderTableManager
:
public
FWTableManagerBase
32
{
33
34
public
:
35
FWAdapterRowHeaderTableManager
(
FWTableManagerBase
*);
36
virtual
~FWAdapterRowHeaderTableManager
();
37
38
// ---------- const member functions ---------------------
39
virtual
int
numberOfRows
()
const
;
40
virtual
int
numberOfColumns
()
const
;
41
virtual
std::vector<std::string>
getTitles
()
const
;
42
virtual
FWTableCellRendererBase
*
cellRenderer
(
int
iRow,
int
iCol)
const
;
43
int
unsortedRowNumber
(
int
)
const
;
44
45
// ---------- static member functions --------------------
46
47
// ---------- member functions ---------------------------
48
virtual
void
implSort
(
int
col
,
bool
sortOrder
) ;
49
50
private
:
51
FWAdapterRowHeaderTableManager
(
const
FWAdapterRowHeaderTableManager
&);
// stop default
52
53
const
FWAdapterRowHeaderTableManager
&
operator=
(
const
FWAdapterRowHeaderTableManager
&);
// stop default
54
55
// ---------- member data --------------------------------
56
const
FWTableManagerBase
*
m_table
;
57
58
};
59
60
61
#endif
FWTableManagerBase::sortOrder
bool sortOrder(void)
The current sort order for the table.
Definition:
FWTableManagerBase.h:105
FWAdapterRowHeaderTableManager::implSort
virtual void implSort(int col, bool sortOrder)
Called by 'sort' method to actually handle the sorting of the rows. Arguments are the same as 'sort'...
Definition:
FWAdapterRowHeaderTableManager.cc:62
FWAdapterRowHeaderTableManager::FWAdapterRowHeaderTableManager
FWAdapterRowHeaderTableManager(FWTableManagerBase *)
Definition:
FWAdapterRowHeaderTableManager.cc:30
FWAdapterRowHeaderTableManager::operator=
const FWAdapterRowHeaderTableManager & operator=(const FWAdapterRowHeaderTableManager &)
FWTableManagerBase
Definition:
FWTableManagerBase.h:44
FWAdapterRowHeaderTableManager::unsortedRowNumber
int unsortedRowNumber(int) const
when passed the index to the sorted order of the rows it returns the original row number from the und...
Definition:
FWAdapterRowHeaderTableManager.cc:76
FWTableManagerBase.h
FWTableCellRendererBase
Definition:
FWTableCellRendererBase.h:44
FWAdapterRowHeaderTableManager::getTitles
virtual std::vector< std::string > getTitles() const
returns the title names for each column
Definition:
FWAdapterRowHeaderTableManager.cc:83
FWAdapterRowHeaderTableManager::numberOfColumns
virtual int numberOfColumns() const
Number of columns in the table.
Definition:
FWAdapterRowHeaderTableManager.cc:73
FWAdapterRowHeaderTableManager::cellRenderer
virtual FWTableCellRendererBase * cellRenderer(int iRow, int iCol) const
Definition:
FWAdapterRowHeaderTableManager.cc:89
cuy.col
col
Definition:
cuy.py:1008
FWAdapterRowHeaderTableManager::m_table
const FWTableManagerBase * m_table
Definition:
FWAdapterRowHeaderTableManager.h:56
FWAdapterRowHeaderTableManager
Definition:
FWAdapterRowHeaderTableManager.h:31
FWAdapterRowHeaderTableManager::~FWAdapterRowHeaderTableManager
virtual ~FWAdapterRowHeaderTableManager()
Definition:
FWAdapterRowHeaderTableManager.cc:42
FWAdapterRowHeaderTableManager::numberOfRows
virtual int numberOfRows() const
Number of rows in the table.
Definition:
FWAdapterRowHeaderTableManager.cc:70
Generated for CMSSW Reference Manual by
1.8.11