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  FWTableCellRendererBase(const FWTableCellRendererBase&) = delete; // stop default
73 
74  const FWTableCellRendererBase& operator=(const FWTableCellRendererBase&) = delete; // stop default
75 
76  // ---------- member data --------------------------------
77 };
78 
79 #endif
virtual UInt_t width() const =0
returns the minimum width of the cell to which the renderer is representing
const FWTableCellRendererBase & operator=(const FWTableCellRendererBase &)=delete
virtual void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight)=0
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)