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
{
34
35
public
:
36
FWAdapterHeaderTableManager
(
const
FWTableManagerBase
*);
37
virtual
~FWAdapterHeaderTableManager
();
38
39
// ---------- const member functions ---------------------
40
virtual
int
numberOfRows
()
const
;
41
virtual
int
numberOfColumns
()
const
;
42
virtual
std::vector<std::string>
getTitles
()
const
;
43
virtual
FWTableCellRendererBase
*
cellRenderer
(
int
iRow,
int
iCol)
const
;
44
int
unsortedRowNumber
(
int
)
const
;
45
46
// ---------- static member functions --------------------
47
48
// ---------- member functions ---------------------------
49
virtual
void
implSort
(
int
col
,
bool
sortOrder
) ;
50
51
private
:
52
FWAdapterHeaderTableManager
(
const
FWAdapterHeaderTableManager
&);
// stop default
53
54
const
FWAdapterHeaderTableManager
&
operator=
(
const
FWAdapterHeaderTableManager
&);
// stop default
55
56
// ---------- member data --------------------------------
57
const
FWTableManagerBase
*
m_table
;
58
FWColumnLabelCellRenderer
*
m_renderer
;
59
int
m_sortedColumn
;
60
bool
m_descendingSort
;
61
62
};
63
64
65
#endif
FWAdapterHeaderTableManager::FWAdapterHeaderTableManager
FWAdapterHeaderTableManager(const FWTableManagerBase *)
Definition:
FWAdapterHeaderTableManager.cc:29
FWAdapterHeaderTableManager::numberOfColumns
virtual int numberOfColumns() const
Number of columns in the table.
Definition:
FWAdapterHeaderTableManager.cc:74
FWTableManagerBase::sortOrder
bool sortOrder(void)
The current sort order for the table.
Definition:
FWTableManagerBase.h:105
FWAdapterHeaderTableManager::cellRenderer
virtual FWTableCellRendererBase * cellRenderer(int iRow, int iCol) const
Definition:
FWAdapterHeaderTableManager.cc:89
FWColumnLabelCellRenderer
Definition:
FWColumnLabelCellRenderer.h:30
FWAdapterHeaderTableManager::getTitles
virtual std::vector< std::string > getTitles() const
returns the title names for each column
Definition:
FWAdapterHeaderTableManager.cc:84
FWAdapterHeaderTableManager::m_renderer
FWColumnLabelCellRenderer * m_renderer
Definition:
FWAdapterHeaderTableManager.h:58
FWTableManagerBase
Definition:
FWTableManagerBase.h:44
FWAdapterHeaderTableManager
Definition:
FWAdapterHeaderTableManager.h:32
FWAdapterHeaderTableManager::m_sortedColumn
int m_sortedColumn
Definition:
FWAdapterHeaderTableManager.h:59
FWTableManagerBase.h
FWAdapterHeaderTableManager::m_table
const FWTableManagerBase * m_table
Definition:
FWAdapterHeaderTableManager.h:57
FWTableCellRendererBase
Definition:
FWTableCellRendererBase.h:44
FWAdapterHeaderTableManager::~FWAdapterHeaderTableManager
virtual ~FWAdapterHeaderTableManager()
Definition:
FWAdapterHeaderTableManager.cc:41
FWAdapterHeaderTableManager::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:
FWAdapterHeaderTableManager.cc:77
cuy.col
col
Definition:
cuy.py:1008
FWAdapterHeaderTableManager::operator=
const FWAdapterHeaderTableManager & operator=(const FWAdapterHeaderTableManager &)
FWAdapterHeaderTableManager::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:
FWAdapterHeaderTableManager.cc:61
FWAdapterHeaderTableManager::m_descendingSort
bool m_descendingSort
Definition:
FWAdapterHeaderTableManager.h:60
FWAdapterHeaderTableManager::numberOfRows
virtual int numberOfRows() const
Number of rows in the table.
Definition:
FWAdapterHeaderTableManager.cc:71
Generated for CMSSW Reference Manual by
1.8.11