CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Fireworks/TableWidget/src/FWAdapterHeaderTableManager.h

Go to the documentation of this file.
00001 #ifndef Fireworks_TableWidget_FWAdapterHeaderTableManager_h
00002 #define Fireworks_TableWidget_FWAdapterHeaderTableManager_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     TableWidget
00006 // Class  :     FWAdapterHeaderTableManager
00007 // 
00019 //
00020 // Original Author:  Chris Jones
00021 //         Created:  Mon Feb  2 16:44:43 EST 2009
00022 // $Id: FWAdapterHeaderTableManager.h,v 1.1 2009/02/03 20:33:03 chrjones Exp $
00023 //
00024 
00025 // system include files
00026 
00027 // user include files
00028 #include "Fireworks/TableWidget/interface/FWTableManagerBase.h"
00029 
00030 // forward declarations
00031 class FWColumnLabelCellRenderer;
00032 
00033 class FWAdapterHeaderTableManager : public FWTableManagerBase 
00034 {
00035 
00036    public:
00037       FWAdapterHeaderTableManager(const FWTableManagerBase*);
00038       virtual ~FWAdapterHeaderTableManager();
00039 
00040       // ---------- const member functions ---------------------
00041       virtual  int numberOfRows() const ;
00042       virtual  int numberOfColumns() const ;
00043       virtual std::vector<std::string> getTitles() const;
00044       virtual FWTableCellRendererBase* cellRenderer(int iRow, int iCol) const;
00045       int unsortedRowNumber(int) const;
00046 
00047       // ---------- static member functions --------------------
00048 
00049       // ---------- member functions ---------------------------
00050       virtual void implSort(int col, bool sortOrder) ;
00051 
00052    private:
00053       FWAdapterHeaderTableManager(const FWAdapterHeaderTableManager&); // stop default
00054 
00055       const FWAdapterHeaderTableManager& operator=(const FWAdapterHeaderTableManager&); // stop default
00056 
00057       // ---------- member data --------------------------------
00058       const FWTableManagerBase* m_table;
00059       FWColumnLabelCellRenderer* m_renderer;
00060       int m_sortedColumn;
00061       bool m_descendingSort;
00062 
00063 };
00064 
00065 
00066 #endif