Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
// $Id: FWAdapterRowHeaderTableManager.h,v 1.1 2009/02/03 20:33:04 chrjones Exp $
23
//
24
25
// system include files
26
27
// user include files
28
#include "
Fireworks/TableWidget/interface/FWTableManagerBase.h
"
29
30
// forward declarations
31
32
class
FWAdapterRowHeaderTableManager
:
public
FWTableManagerBase
33
{
34
35
public
:
36
FWAdapterRowHeaderTableManager
(
FWTableManagerBase
*);
37
virtual
~FWAdapterRowHeaderTableManager
();
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
FWAdapterRowHeaderTableManager
(
const
FWAdapterRowHeaderTableManager
&);
// stop default
53
54
const
FWAdapterRowHeaderTableManager
&
operator=
(
const
FWAdapterRowHeaderTableManager
&);
// stop default
55
56
// ---------- member data --------------------------------
57
const
FWTableManagerBase
*
m_table
;
58
59
};
60
61
62
#endif
FWTableManagerBase::sortOrder
bool sortOrder(void)
The current sort order for the table.
Definition:
FWTableManagerBase.h:106
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:63
FWAdapterRowHeaderTableManager::FWAdapterRowHeaderTableManager
FWAdapterRowHeaderTableManager(FWTableManagerBase *)
Definition:
FWAdapterRowHeaderTableManager.cc:31
FWAdapterRowHeaderTableManager::operator=
const FWAdapterRowHeaderTableManager & operator=(const FWAdapterRowHeaderTableManager &)
FWTableManagerBase
Definition:
FWTableManagerBase.h:45
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:77
FWTableManagerBase.h
FWTableCellRendererBase
Definition:
FWTableCellRendererBase.h:45
FWAdapterRowHeaderTableManager::getTitles
virtual std::vector< std::string > getTitles() const
returns the title names for each column
Definition:
FWAdapterRowHeaderTableManager.cc:84
FWAdapterRowHeaderTableManager::numberOfColumns
virtual int numberOfColumns() const
Number of columns in the table.
Definition:
FWAdapterRowHeaderTableManager.cc:74
FWAdapterRowHeaderTableManager::cellRenderer
virtual FWTableCellRendererBase * cellRenderer(int iRow, int iCol) const
Definition:
FWAdapterRowHeaderTableManager.cc:90
FWAdapterRowHeaderTableManager::m_table
const FWTableManagerBase * m_table
Definition:
FWAdapterRowHeaderTableManager.h:57
FWAdapterRowHeaderTableManager
Definition:
FWAdapterRowHeaderTableManager.h:32
FWAdapterRowHeaderTableManager::~FWAdapterRowHeaderTableManager
virtual ~FWAdapterRowHeaderTableManager()
Definition:
FWAdapterRowHeaderTableManager.cc:43
FWAdapterRowHeaderTableManager::numberOfRows
virtual int numberOfRows() const
Number of rows in the table.
Definition:
FWAdapterRowHeaderTableManager.cc:71
Generated for CMSSW Reference Manual by
1.8.5