00001 #ifndef Fireworks_Core_FWDoubleParameterSetter_h 00002 #define Fireworks_Core_FWDoubleParameterSetter_h 00003 // -*- C++ -*- 00004 // 00005 // Package: Core 00006 // Class : FWDoubleParameterSetter 00007 // 00016 // 00017 // Original Author: Chris Jones 00018 // Created: Mon Mar 10 11:22:26 CDT 2008 00019 // $Id: FWDoubleParameterSetter.h,v 1.6 2011/02/15 18:32:34 amraktad Exp $ 00020 // 00021 00022 // system include files 00023 #include <Rtypes.h> 00024 00025 // user include files 00026 #include "Fireworks/Core/interface/FWParameterSetterBase.h" 00027 #include "Fireworks/Core/interface/FWDoubleParameter.h" 00028 00029 00030 // forward declarations 00031 class TGNumberEntry; 00032 00033 class FWDoubleParameterSetter : public FWParameterSetterBase 00034 { 00035 00036 public: 00037 FWDoubleParameterSetter(); 00038 virtual ~FWDoubleParameterSetter(); 00039 00040 // ---------- const member functions --------------------- 00041 00042 // ---------- static member functions -------------------- 00043 00044 // ---------- member functions --------------------------- 00045 virtual void attach(FWParameterBase*) ; 00046 virtual TGFrame* build(TGFrame* iParent, bool labelBack=true) ; 00047 00048 virtual void setEnabled(bool); 00049 00050 void doUpdate(Long_t); 00051 00052 private: 00053 FWDoubleParameterSetter(const FWDoubleParameterSetter&); // stop default 00054 00055 const FWDoubleParameterSetter& operator=(const FWDoubleParameterSetter&); // stop default 00056 00057 // ---------- member data -------------------------------- 00058 FWDoubleParameter* m_param; 00059 TGNumberEntry* m_widget; 00060 }; 00061 00062 00063 #endif