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 // $Id: FWTableCellRendererBase.h,v 1.1 2009/02/03 20:33:03 chrjones Exp $
36 //
37 
38 // system include files
39 #include "GuiTypes.h"
40 
41 // user include files
42 
43 // forward declarations
44 
46 {
47 
48  public:
50  virtual ~FWTableCellRendererBase();
51 
52  // ---------- const member functions ---------------------
54  virtual UInt_t width() const= 0;
56  virtual UInt_t height() const = 0;
57 
65  virtual void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight)=0;
66 
67  // ---------- member functions ---------------------------
73  virtual void buttonEvent(Event_t* iClickEvent, int iRelClickX, int iRelClickY);
74 
75  private:
76  FWTableCellRendererBase(const FWTableCellRendererBase&); // stop default
77 
78  const FWTableCellRendererBase& operator=(const FWTableCellRendererBase&); // stop default
79 
80  // ---------- member data --------------------------------
81 
82 };
83 
84 
85 #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
unsigned int UInt_t
Definition: FUTypes.h:12
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)