CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWColumnLabelCellRenderer.h
Go to the documentation of this file.
1 #ifndef Fireworks_TableWidget_FWColumnLabelCellRenderer_h
2 #define Fireworks_TableWidget_FWColumnLabelCellRenderer_h
3 // -*- C++ -*-
4 //
5 // Package: TableWidget
6 // Class : FWColumnLabelCellRenderer
7 //
17 //
18 // Original Author: Chris Jones
19 // Created: Mon Feb 2 16:44:11 EST 2009
20 // $Id: FWColumnLabelCellRenderer.h,v 1.3 2012/02/22 00:15:44 amraktad Exp $
21 //
22 
23 // system include files
24 
25 // user include files
28 
29 // forward declarations
30 
32 {
33 
34  public:
35  FWColumnLabelCellRenderer(const TGGC* iContext=&(getDefaultGC()), bool isSortable = true);
37 
38  // ---------- const member functions ---------------------
40 
41  virtual UInt_t width() const;
42 
43  // ---------- static member functions --------------------
44 
45  // ---------- member functions ---------------------------
47 
48  virtual void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight);
49 
50  private:
51  //FWColumnLabelCellRenderer(const FWColumnLabelCellRenderer&); // stop default
52 
53  //const FWColumnLabelCellRenderer& operator=(const FWColumnLabelCellRenderer&); // stop default
54 
55  // ---------- member data --------------------------------
56  static const UInt_t kGap = 2;
60 
62 
63 };
64 
65 
66 #endif
FWColumnLabelCellRenderer(const TGGC *iContext=&(getDefaultGC()), bool isSortable=true)
void setSortOrder(fireworks::table::SortOrder)
static const TGGC & getDefaultGC()
unsigned int UInt_t
Definition: FUTypes.h:12
fireworks::table::SortOrder sortOrder() const
virtual UInt_t width() const
returns the minimum width of the cell to which the renderer is representing
virtual void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight)
fireworks::table::SortOrder m_sortOrder