CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: FWAdapterHeaderTableManager.h,v 1.1 2009/02/03 20:33:03 chrjones Exp $
23 //
24 
25 // system include files
26 
27 // user include files
29 
30 // forward declarations
32 
34 {
35 
36  public:
39 
40  // ---------- const member functions ---------------------
41  virtual int numberOfRows() const ;
42  virtual int numberOfColumns() const ;
43  virtual std::vector<std::string> getTitles() const;
44  virtual FWTableCellRendererBase* cellRenderer(int iRow, int iCol) const;
45  int unsortedRowNumber(int) const;
46 
47  // ---------- static member functions --------------------
48 
49  // ---------- member functions ---------------------------
50  virtual void implSort(int col, bool sortOrder) ;
51 
52  private:
54 
56 
57  // ---------- member data --------------------------------
62 
63 };
64 
65 
66 #endif
FWAdapterHeaderTableManager(const FWTableManagerBase *)
virtual int numberOfColumns() const
Number of columns in the table.
bool sortOrder(void)
The current sort order for the table.
virtual FWTableCellRendererBase * cellRenderer(int iRow, int iCol) const
virtual std::vector< std::string > getTitles() const
returns the title names for each column
FWColumnLabelCellRenderer * m_renderer
const FWTableManagerBase * m_table
int unsortedRowNumber(int) const
when passed the index to the sorted order of the rows it returns the original row number from the und...
const FWAdapterHeaderTableManager & operator=(const FWAdapterHeaderTableManager &)
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;...
virtual int numberOfRows() const
Number of rows in the table.