CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
34 
35 };
36 #endif
virtual void SetUIntNumber(UInt_t n)
list parent
Definition: dbtoconf.py:74
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())
#define min(a, b)
Definition: mlp_lapack.h:161
virtual Bool_t HandleFocusChange(Event_t *event)
const T & max(const T &a, const T &b)
virtual UInt_t GetUIntNumber()
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
unsigned int UInt_t
Definition: FUTypes.h:12
tuple attr
Definition: asciidump.py:432
ClassDef(FWNumberEntryField, 0)
virtual void ReturnPressed()