13 #ifndef ROOT_TBrowserImp
14 #define ROOT_TBrowserImp
35 TBrowserImp(
const TBrowserImp& br)
36 : fBrowser(br.fBrowser), fShowCycles(br.fShowCycles) { }
37 TBrowserImp& operator=(
const TBrowserImp& br)
38 {
if(
this!=&br) {fBrowser=br.fBrowser; fShowCycles=br.fShowCycles;}
42 TBrowserImp(TBrowser *b=
nullptr) : fBrowser(b), fShowCycles(kFALSE) { }
43 TBrowserImp(TBrowser *b,
const char *title, UInt_t width, UInt_t height, Option_t *opt =
"");
44 TBrowserImp(TBrowser *b,
const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt =
"");
45 virtual ~TBrowserImp() { }
47 virtual void Add(TObject *,
const char *, Int_t) { }
48 virtual void AddCheckBox(TObject *, Bool_t = kFALSE) { }
49 virtual void CheckObjectItem(TObject *, Bool_t = kFALSE) { }
50 virtual void RemoveCheckBox(TObject *) { }
51 virtual void BrowseObj(TObject *) { }
52 TBrowser *Browser()
const {
return fBrowser; }
53 virtual void CloseTabs() { }
54 virtual void ExecuteDefaultAction(TObject *) { }
55 virtual void Iconify() { }
56 virtual void RecursiveRemove(TObject *) { }
57 virtual void Refresh(Bool_t = kFALSE) { }
58 virtual void Show() { }
59 virtual void SetDrawOption(Option_t *option=
"");
60 virtual Option_t *GetDrawOption()
const {
return nullptr; }
62 virtual Long_t ExecPlugin(
const char *,
const char *,
const char *, Int_t, Int_t) {
return 0; }
63 virtual void SetStatusText(
const char *, Int_t) { }
64 virtual void StartEmbedding(Int_t, Int_t) { }
65 virtual void StopEmbedding(
const char *) { }
67 virtual TGMainFrame *GetMainFrame()
const {
return 0; }
69 virtual TBrowser *GetBrowser()
const {
return fBrowser; }
70 virtual void SetBrowser(TBrowser *b) { fBrowser = b; }
72 ClassDef(TBrowserImp,0)
75 inline TBrowserImp::TBrowserImp(TBrowser *,
const char *, UInt_t, UInt_t, Option_t *)
76 : fBrowser(0), fShowCycles(kFALSE) { }
77 inline TBrowserImp::TBrowserImp(TBrowser *,
const char *, Int_t, Int_t, UInt_t, UInt_t, Option_t *)
78 : fBrowser(0), fShowCycles(kFALSE) { }