test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWTableCellRendererBase.h
Go to the documentation of this file.
1 #ifndef Fireworks_TableWidget_FWTableCellRendererBase_h
2 #define Fireworks_TableWidget_FWTableCellRendererBase_h
3 // -*- C++ -*-
4 //
5 // Package: TableWidget
6 // Class : FWTableCellRendererBase
7 //
32 //
33 // Original Author: Chris Jones
34 // Created: Mon Feb 2 16:40:18 EST 2009
35 //
36 
37 // system include files
38 #include "GuiTypes.h"
39 
40 // user include files
41 
42 // forward declarations
43 
45 {
46 
47  public:
49  virtual ~FWTableCellRendererBase();
50 
51  // ---------- const member functions ---------------------
53  virtual UInt_t width() const= 0;
55  virtual UInt_t height() const = 0;
56 
64  virtual void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight)=0;
65 
66  // ---------- member functions ---------------------------
72  virtual void buttonEvent(Event_t* iClickEvent, int iRelClickX, int iRelClickY);
73 
74  private:
75  FWTableCellRendererBase(const FWTableCellRendererBase&); // stop default
76 
77  const FWTableCellRendererBase& operator=(const FWTableCellRendererBase&); // stop default
78 
79  // ---------- member data --------------------------------
80 
81 };
82 
83 
84 #endif
virtual UInt_t width() const =0
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)=0
const FWTableCellRendererBase & operator=(const FWTableCellRendererBase &)
virtual UInt_t height() const =0
returns the minimum height of the cell to which the renderer is representing
virtual void buttonEvent(Event_t *iClickEvent, int iRelClickX, int iRelClickY)