00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef ROOT_TBrowserImp
00014 #define ROOT_TBrowserImp
00015
00017
00018
00019
00020
00021
00023
00024 #ifndef ROOT_TObject
00025 #include "TObject.h"
00026 #endif
00027
00028 class TBrowser;
00029
00030
00031 class TBrowserImp {
00032
00033 protected:
00034 TBrowser *fBrowser;
00035 Bool_t fShowCycles;
00036
00037 public:
00038 TBrowserImp(TBrowser *b=0) : fBrowser(b), fShowCycles(kFALSE) { }
00039 TBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height);
00040 TBrowserImp(TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height);
00041 virtual ~TBrowserImp() { }
00042
00043 virtual void Add(TObject *, const char *) { }
00044 virtual void BrowseObj(TObject *) { }
00045 TBrowser *Browser() const { return fBrowser; }
00046 virtual void ExecuteDefaultAction(TObject *) { }
00047 virtual void Iconify() { }
00048 virtual void RecursiveRemove(TObject *) { }
00049 virtual void Refresh(Bool_t = kFALSE) { }
00050 virtual void Show() { }
00051
00052 ClassDef(TBrowserImp,0)
00053 };
00054
00055 inline TBrowserImp::TBrowserImp(TBrowser *, const char *, UInt_t, UInt_t) { }
00056 inline TBrowserImp::TBrowserImp(TBrowser *, const char *, Int_t, Int_t, UInt_t, UInt_t) { }
00057
00058 #endif