00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4WINDOWEDITSTATUS_H 00017 #define TGO4WINDOWEDITSTATUS_H 00018 00019 #include "Go4StatusBase/TGo4Status.h" 00020 00021 class TGo4WindowEditSlots; 00022 class TGo4Condition; 00023 00028 class TGo4WindowEditStatus : public TGo4Status { 00029 public: 00030 00031 TGo4WindowEditStatus(const char* name, const char* title); 00032 virtual ~TGo4WindowEditStatus(); 00033 00035 TGo4Condition* GetCondition() {return fxCondition;} 00037 void SetCondition(TGo4Condition* con); 00039 Double_t Xmin(); 00041 Double_t Xmax(); 00043 Double_t Ymin(); 00045 Double_t Ymax(); 00047 Int_t Counts(); 00049 Int_t TrueCounts(); 00051 Bool_t IsEnabled(); 00053 Bool_t TrueValue(); 00055 Bool_t FalseValue(); 00057 Bool_t ResultValue(); 00059 Bool_t IsVisible(); 00061 const Text_t* ConditionName(); 00062 00063 Bool_t IsMultiEdit(); 00064 void SetMultiEdit(Bool_t on); 00065 Bool_t Is2D(); 00066 Bool_t IsArray(); 00067 Bool_t IsPolygon(); 00068 Bool_t IsCentralMode() {return fbCentralMode;} 00069 void SetCentralMode(Bool_t on) {fbCentralMode=on;} 00070 Int_t GetCurrentIndex(); 00071 void SetCurrentIndex(Int_t ix); 00072 void SetSlot(TGo4WindowEditSlots* myslot); 00074 Int_t GetNumberOfConditions(); 00075 00079 void Print(Option_t* opt=""); 00080 00081 private: 00083 TGo4Condition* fxCondition; 00084 00086 TGo4WindowEditSlots* fxSlots; 00087 00089 Bool_t fbCentralMode; 00090 }; 00091 00092 #endif //TGO4WINDOWEDITSTATUS_H 00093 00094 //----------------------------END OF GO4 SOURCE FILE ---------------------