Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TBrowserImp.h

Go to the documentation of this file.
00001 // @(#)root/base:$Name:  $:$Id: TBrowserImp.h,v 1.1.1.1 2000/05/16 17:00:39 rdm Exp $
00002 // Author: Fons Rademakers   15/11/95
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 
00013 #ifndef ROOT_TBrowserImp
00014 #define ROOT_TBrowserImp
00015 
00017 //                                                                      //
00018 // TBrowserImp                                                          //
00019 //                                                                      //
00020 // ABC describing GUI independent browser implementation protocol.      //
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;     //TBrowser associated with this implementation
00035    Bool_t     fShowCycles;  //Show object cycle numbers in browser
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)  //ABC describing browser implementation protocol
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

Generated on Thu Dec 18 14:52:16 2003 for ROOT by doxygen1.2.16