CMS 3D CMS Logo

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 public:
47  virtual ~FWTableCellRendererBase();
48 
49  // ---------- const member functions ---------------------
51  virtual UInt_t width() const = 0;
53  virtual UInt_t height() const = 0;
54 
62  virtual void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) = 0;
63 
64  // ---------- member functions ---------------------------
70  virtual void buttonEvent(Event_t* iClickEvent, int iRelClickX, int iRelClickY);
71 
72 private:
73  FWTableCellRendererBase(const FWTableCellRendererBase&) = delete; // stop default
74 
75  const FWTableCellRendererBase& operator=(const FWTableCellRendererBase&) = delete; // stop default
76 
77  // ---------- member data --------------------------------
78 };
79 
80 #endif
const FWTableCellRendererBase & operator=(const FWTableCellRendererBase &)=delete
virtual UInt_t height() const =0
returns the minimum height 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
virtual UInt_t width() const =0
returns the minimum width of the cell to which the renderer is representing
virtual void buttonEvent(Event_t *iClickEvent, int iRelClickX, int iRelClickY)