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  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)
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())
virtual Bool_t HandleFocusChange(Event_t *event)
virtual void SetULong64Number(ULong64_t n)
virtual UInt_t GetUIntNumber()
T min(T a, T b)
Definition: MathUtil.h:58
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
ClassDef(FWNumberEntryField, 0)
virtual void ReturnPressed()