CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
FWCollectionSummaryModelCellRenderer.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWCollectionSummaryModelCellRenderer_h
2 #define Fireworks_Core_FWCollectionSummaryModelCellRenderer_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWCollectionSummaryModelCellRenderer
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Wed Feb 25 10:03:21 CST 2009
19 //
20 
21 // system include files
22 
23 // user include files
25 
26 // forward declarations
27 class FWColorBoxIcon;
28 class FWCheckBoxIcon;
29 class FWEventItem;
30 
32 public:
33  FWCollectionSummaryModelCellRenderer(const TGGC* iContext, const TGGC* iSelectContext);
35 
37  // ---------- const member functions ---------------------
38  UInt_t width() const override;
39 
40  // ---------- static member functions --------------------
41 
42  // ---------- member functions ---------------------------
43  void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) override;
44 
45  void setData(const FWEventItem* iItem, int iIndex);
46 
47  ClickHit clickHit(int iX, int iY) const;
48 
50 
52  delete; // stop default
53 
54 private:
55  // ---------- member data --------------------------------
59 };
60 
61 #endif
void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) override
FWCollectionSummaryModelCellRenderer(const TGGC *iContext, const TGGC *iSelectContext)
const FWCollectionSummaryModelCellRenderer & operator=(const FWCollectionSummaryModelCellRenderer &)=delete
void setData(const FWEventItem *iItem, int iIndex)
UInt_t width() const override
returns the minimum width of the cell to which the renderer is representing