CMS 3D CMS Logo

FWNumberEntry.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWNumberEntryField_h
2 #define Fireworks_Core_FWNumberEntryField_h
3 
4 #include "TGNumberEntry.h"
5 
6 //------------------------------FWNumberEntryField------------------------------//
7 
8 class FWNumberEntryField : public TGNumberEntryField
9 {
10 private:
11 
12 public:
13  FWNumberEntryField(const TGWindow *p, Int_t id,
14  Double_t val, GContext_t norm,
15  FontStruct_t font = GetDefaultFontStruct(),
16  UInt_t option = kSunkenFrame | kDoubleBorder,
17  Pixel_t back = GetWhitePixel());
18  FWNumberEntryField(const TGWindow *parent = 0,
19  Int_t id = -1, Double_t val = 0,
20  EStyle style = kNESReal,
21  EAttribute attr = kNEAAnyNumber,
22  ELimit limits = kNELNoLimits,
23  Double_t min = 0, Double_t max = 1);
24 
25  virtual ~FWNumberEntryField() {}
26 
27  virtual Bool_t HandleFocusChange(Event_t* event);
28  virtual void ReturnPressed();
29 
30  virtual UInt_t GetUIntNumber();
31  virtual void SetUIntNumber(UInt_t n);
32  virtual ULong64_t GetULong64Number();
33  virtual void SetULong64Number(ULong64_t n);
34 
36 
37 };
38 #endif
virtual ULong64_t GetULong64Number()
virtual void SetUIntNumber(UInt_t n)
virtual ~FWNumberEntryField()
Definition: FWNumberEntry.h:25
FWNumberEntryField(const TGWindow *p, Int_t id, Double_t val, GContext_t norm, FontStruct_t font=GetDefaultFontStruct(), UInt_t option=kSunkenFrame|kDoubleBorder, Pixel_t back=GetWhitePixel())
virtual Bool_t HandleFocusChange(Event_t *event)
virtual void SetULong64Number(ULong64_t n)
Definition: style.py:1
virtual UInt_t GetUIntNumber()
T min(T a, T b)
Definition: MathUtil.h:58
ClassDef(FWNumberEntryField, 0)
virtual void ReturnPressed()
Definition: event.py:1