test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWAdapterRowHeaderTableManager.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: TableWidget
4 // Class : FWAdapterRowHeaderTableManager
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author: Chris Jones
10 // Created: Mon Feb 2 16:45:01 EST 2009
11 //
12 
13 // system include files
14 
15 // user include files
17 
18 
19 //
20 // constants, enums and typedefs
21 //
22 
23 //
24 // static data member definitions
25 //
26 
27 //
28 // constructors and destructor
29 //
31 m_table(iTable)
32  {
33  iTable->Connect("dataChanged()","FWTableManagerBase",static_cast<FWTableManagerBase*>(this),"dataChanged()");
34  iTable->Connect("visualPropertiesChanged()","FWTableManagerBase",static_cast<FWTableManagerBase*>(this),"visualPropertiesChanged()");
35 }
36 
37 // FWAdapterRowHeaderTableManager::FWAdapterRowHeaderTableManager(const FWAdapterRowHeaderTableManager& rhs)
38 // {
39 // // do actual copying here;
40 // }
41 
43 {
44 }
45 
46 //
47 // assignment operators
48 //
49 // const FWAdapterRowHeaderTableManager& FWAdapterRowHeaderTableManager::operator=(const FWAdapterRowHeaderTableManager& rhs)
50 // {
51 // //An exception safe implementation is
52 // FWAdapterRowHeaderTableManager temp(rhs);
53 // swap(rhs);
54 //
55 // return *this;
56 // }
57 
58 //
59 // member functions
60 //
61 void
63 {
64 }
65 
66 //
67 // const member functions
68 //
69 int
71 
72 int
74 
75 int
77 {
78  return m_table->unsortedRowNumber(iRow);
79 }
80 
81 
82 std::vector<std::string>
84  std::vector<std::string> names(1,std::string("labels"));
85  return names;
86 }
87 
89 FWAdapterRowHeaderTableManager::cellRenderer(int iRow, int /*iCol*/) const
90 {
91  return m_table->rowHeader(iRow);
92 }
93 
94 //
95 // static member functions
96 //
static const HistoName names[]
virtual void implSort(int col, bool sortOrder)
Called by &#39;sort&#39; method to actually handle the sorting of the rows. Arguments are the same as &#39;sort&#39;...
int unsortedRowNumber(int) const
when passed the index to the sorted order of the rows it returns the original row number from the und...
virtual int numberOfRows() const =0
Number of rows in the table.
virtual int unsortedRowNumber(int iSortedRowNumber) const =0
when passed the index to the sorted order of the rows it returns the original row number from the und...
virtual std::vector< std::string > getTitles() const
returns the title names for each column
virtual int numberOfColumns() const
Number of columns in the table.
virtual FWTableCellRendererBase * cellRenderer(int iRow, int iCol) const
int col
Definition: cuy.py:1008
virtual FWTableCellRendererBase * rowHeader(int iSortedRowNumber) const
Returns the renderer for the row header for the sorted row number iSortedRowNumber.
virtual int numberOfRows() const
Number of rows in the table.