#include <TBrowser.h>
Inheritance diagram for TBrowser:
Public Types | |
enum | |
enum | |
Public Member Functions | |
TBrowser (const char *name="Browser", const char *title="ROOT Object Browser", TBrowserImp *extimp=0, Option_t *opt="") | |
TBrowser (const char *name, const char *title, UInt_t width, UInt_t height, TBrowserImp *extimp=0, Option_t *opt="") | |
TBrowser (const char *name, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, TBrowserImp *extimp=0, Option_t *opt="") | |
TBrowser (const char *name, TObject *obj, const char *title="ROOT Object Browser", Option_t *opt="") | |
TBrowser (const char *name, TObject *obj, const char *title, UInt_t width, UInt_t height, Option_t *opt="") | |
TBrowser (const char *name, TObject *obj, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt="") | |
TBrowser (const char *name, void *obj, TClass *cl, const char *objname="", const char *title="ROOT Foreign Browser", Option_t *opt="") | |
TBrowser (const char *name, void *obj, TClass *cl, const char *objname, const char *title, UInt_t width, UInt_t height, Option_t *opt="") | |
TBrowser (const char *name, void *obj, TClass *cl, const char *objname, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt="") | |
virtual | ~TBrowser () |
void | Add (TObject *obj, const char *name=0, Int_t check=-1) |
void | Add (void *obj, TClass *cl, const char *name=0, Int_t check=-1) |
void | AddCheckBox (TObject *obj, Bool_t check=kFALSE) |
void | CheckObjectItem (TObject *obj, Bool_t check=kFALSE) |
void | RemoveCheckBox (TObject *obj) |
virtual void | Create (TObject *obj=0) |
void | BrowseObject (TObject *obj) |
void | ExecuteDefaultAction (TObject *obj) |
TBrowserImp * | GetBrowserImp () const |
void | SetBrowserImp (TBrowserImp *i) |
TContextMenu * | GetContextMenu () const |
Bool_t | GetRefreshFlag () const |
TObject * | GetSelected () const |
void | SetRefreshFlag (Bool_t flag) |
void | Iconify () |
virtual void | RecursiveRemove (TObject *obj) |
void | Refresh () |
void | SetSelected (TObject *clickedObject) |
void | Show () |
void | SetDrawOption (Option_t *option="") |
Option_t * | GetDrawOption () const |
Long_t | ExecPlugin (const char *name=0, const char *fname=0, const char *cmd=0, Int_t pos=1, Int_t subpos=-1) |
void | SetStatusText (const char *txt, Int_t col) |
void | StartEmbedding (Int_t pos, Int_t subpos) |
void | StopEmbedding (const char *name="") |
TBrowser (const char *name="Browser", const char *title="ROOT Object Browser", TBrowserImp *extimp=0, Option_t *opt="") | |
TBrowser (const char *name, const char *title, UInt_t width, UInt_t height, TBrowserImp *extimp=0, Option_t *opt="") | |
TBrowser (const char *name, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, TBrowserImp *extimp=0, Option_t *opt="") | |
TBrowser (const char *name, TObject *obj, const char *title="ROOT Object Browser", Option_t *opt="") | |
TBrowser (const char *name, TObject *obj, const char *title, UInt_t width, UInt_t height, Option_t *opt="") | |
TBrowser (const char *name, TObject *obj, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt="") | |
TBrowser (const char *name, void *obj, TClass *cl, const char *objname="", const char *title="ROOT Foreign Browser", Option_t *opt="") | |
TBrowser (const char *name, void *obj, TClass *cl, const char *objname, const char *title, UInt_t width, UInt_t height, Option_t *opt="") | |
TBrowser (const char *name, void *obj, TClass *cl, const char *objname, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt="") | |
virtual | ~TBrowser () |
void | Add (TObject *obj, const char *name=0, Int_t check=-1) |
void | Add (void *obj, TClass *cl, const char *name=0, Int_t check=-1) |
void | AddCheckBox (TObject *obj, Bool_t check=kFALSE) |
void | CheckObjectItem (TObject *obj, Bool_t check=kFALSE) |
void | RemoveCheckBox (TObject *obj) |
virtual void | Create (TObject *obj=0) |
void | BrowseObject (TObject *obj) |
void | ExecuteDefaultAction (TObject *obj) |
TBrowserImp * | GetBrowserImp () const |
void | SetBrowserImp (TBrowserImp *i) |
TContextMenu * | GetContextMenu () const |
Bool_t | GetRefreshFlag () const |
TObject * | GetSelected () const |
void | SetRefreshFlag (Bool_t flag) |
void | Iconify () |
virtual void | RecursiveRemove (TObject *obj) |
void | Refresh () |
void | SetSelected (TObject *clickedObject) |
void | Show () |
void | SetDrawOption (Option_t *option="") |
Option_t * | GetDrawOption () const |
Long_t | ExecPlugin (const char *name=0, const char *fname=0, const char *cmd=0, Int_t pos=1, Int_t subpos=-1) |
void | SetStatusText (const char *txt, Int_t col) |
void | StartEmbedding (Int_t pos, Int_t subpos) |
void | StopEmbedding (const char *name="") |
Protected Attributes | |
TBrowserImp * | fImp |
TBrowserTimer * | fTimer |
Window system specific browser implementation. | |
TContextMenu * | fContextMenu |
Browser's timer. | |
Bool_t | fNeedRefresh |
Context menu pointer. | |
TBrowserImp * | fImp |
TBrowserTimer * | fTimer |
Window system specific browser implementation. | |
TContextMenu * | fContextMenu |
Browser's timer. | |
Private Member Functions | |
TBrowser (const TBrowser &) | |
The last TObject selected by user. | |
TBrowser & | operator= (const TBrowser &) |
TBrowser (const TBrowser &) | |
The last TObject selected by user. | |
TBrowser & | operator= (const TBrowser &) |
Private Attributes | |
TObject * | fLastSelectedObject |
TObject * | fLastSelectedObject |
Definition at line 41 of file TBrowser.h.
anonymous enum |
Definition at line 56 of file TBrowser.h.
anonymous enum |
Definition at line 56 of file TBrowser.h.
TBrowser::TBrowser | ( | const char * | name = "Browser" , |
|
const char * | title = "ROOT Object Browser" , |
|||
TBrowserImp * | extimp = 0 , |
|||
Option_t * | opt = "" | |||
) |
TBrowser::TBrowser | ( | const char * | name, | |
const char * | title, | |||
UInt_t | width, | |||
UInt_t | height, | |||
TBrowserImp * | extimp = 0 , |
|||
Option_t * | opt = "" | |||
) |
Definition at line 110 of file TBrowser.cxx.
References Create(), TGuiFactory::CreateBrowserImp(), fImp, gApplication, gGuiFactory, TApplication::InitializeGraphics(), and TApplication::NeedGraphicsLibs().
TBrowser::TBrowser | ( | const char * | name, | |
const char * | title, | |||
Int_t | x, | |||
Int_t | y, | |||
UInt_t | width, | |||
UInt_t | height, | |||
TBrowserImp * | extimp = 0 , |
|||
Option_t * | opt = "" | |||
) |
Definition at line 125 of file TBrowser.cxx.
References Create(), TGuiFactory::CreateBrowserImp(), fImp, gApplication, gGuiFactory, TApplication::InitializeGraphics(), and TApplication::NeedGraphicsLibs().
TBrowser::TBrowser | ( | const char * | name, | |
TObject * | obj, | |||
const char * | title = "ROOT Object Browser" , |
|||
Option_t * | opt = "" | |||
) |
Definition at line 140 of file TBrowser.cxx.
References Create(), TGuiFactory::CreateBrowserImp(), cx, fImp, gApplication, TStyle::GetScreenFactor(), gGuiFactory, gStyle, h, TApplication::InitializeGraphics(), TApplication::NeedGraphicsLibs(), and w.
TBrowser::TBrowser | ( | const char * | name, | |
TObject * | obj, | |||
const char * | title, | |||
UInt_t | width, | |||
UInt_t | height, | |||
Option_t * | opt = "" | |||
) |
Definition at line 158 of file TBrowser.cxx.
References Create(), TGuiFactory::CreateBrowserImp(), fImp, gApplication, gGuiFactory, TApplication::InitializeGraphics(), and TApplication::NeedGraphicsLibs().
TBrowser::TBrowser | ( | const char * | name, | |
TObject * | obj, | |||
const char * | title, | |||
Int_t | x, | |||
Int_t | y, | |||
UInt_t | width, | |||
UInt_t | height, | |||
Option_t * | opt = "" | |||
) |
Definition at line 173 of file TBrowser.cxx.
References Create(), TGuiFactory::CreateBrowserImp(), fImp, gApplication, gGuiFactory, TApplication::InitializeGraphics(), and TApplication::NeedGraphicsLibs().
TBrowser::TBrowser | ( | const char * | name, | |
void * | obj, | |||
TClass * | cl, | |||
const char * | objname = "" , |
|||
const char * | title = "ROOT Foreign Browser" , |
|||
Option_t * | opt = "" | |||
) |
Definition at line 189 of file TBrowser.cxx.
References Create(), TGuiFactory::CreateBrowserImp(), cx, fImp, gApplication, TStyle::GetScreenFactor(), gGuiFactory, gStyle, h, TApplication::InitializeGraphics(), TApplication::NeedGraphicsLibs(), and w.
TBrowser::TBrowser | ( | const char * | name, | |
void * | obj, | |||
TClass * | cl, | |||
const char * | objname, | |||
const char * | title, | |||
UInt_t | width, | |||
UInt_t | height, | |||
Option_t * | opt = "" | |||
) |
Definition at line 209 of file TBrowser.cxx.
References Create(), TGuiFactory::CreateBrowserImp(), fImp, gApplication, gGuiFactory, TApplication::InitializeGraphics(), and TApplication::NeedGraphicsLibs().
TBrowser::TBrowser | ( | const char * | name, | |
void * | obj, | |||
TClass * | cl, | |||
const char * | objname, | |||
const char * | title, | |||
Int_t | x, | |||
Int_t | y, | |||
UInt_t | width, | |||
UInt_t | height, | |||
Option_t * | opt = "" | |||
) |
Definition at line 225 of file TBrowser.cxx.
References Create(), TGuiFactory::CreateBrowserImp(), fImp, gApplication, gGuiFactory, TApplication::InitializeGraphics(), and TApplication::NeedGraphicsLibs().
TBrowser::~TBrowser | ( | ) | [virtual] |
Definition at line 242 of file TBrowser.cxx.
References fContextMenu, fImp, fTimer, TROOT::GetListOfBrowsers(), gROOT, gROOTMutex, R__LOCKGUARD2, and TCollection::Remove().
TBrowser::TBrowser | ( | const char * | name = "Browser" , |
|
const char * | title = "ROOT Object Browser" , |
|||
TBrowserImp * | extimp = 0 , |
|||
Option_t * | opt = "" | |||
) |
TBrowser::TBrowser | ( | const char * | name, | |
const char * | title, | |||
UInt_t | width, | |||
UInt_t | height, | |||
TBrowserImp * | extimp = 0 , |
|||
Option_t * | opt = "" | |||
) |
TBrowser::TBrowser | ( | const char * | name, | |
const char * | title, | |||
Int_t | x, | |||
Int_t | y, | |||
UInt_t | width, | |||
UInt_t | height, | |||
TBrowserImp * | extimp = 0 , |
|||
Option_t * | opt = "" | |||
) |
TBrowser::TBrowser | ( | const char * | name, | |
TObject * | obj, | |||
const char * | title = "ROOT Object Browser" , |
|||
Option_t * | opt = "" | |||
) |
TBrowser::TBrowser | ( | const char * | name, | |
TObject * | obj, | |||
const char * | title, | |||
UInt_t | width, | |||
UInt_t | height, | |||
Option_t * | opt = "" | |||
) |
TBrowser::TBrowser | ( | const char * | name, | |
TObject * | obj, | |||
const char * | title, | |||
Int_t | x, | |||
Int_t | y, | |||
UInt_t | width, | |||
UInt_t | height, | |||
Option_t * | opt = "" | |||
) |
TBrowser::TBrowser | ( | const char * | name, | |
void * | obj, | |||
TClass * | cl, | |||
const char * | objname = "" , |
|||
const char * | title = "ROOT Foreign Browser" , |
|||
Option_t * | opt = "" | |||
) |
TBrowser::TBrowser | ( | const char * | name, | |
void * | obj, | |||
TClass * | cl, | |||
const char * | objname, | |||
const char * | title, | |||
UInt_t | width, | |||
UInt_t | height, | |||
Option_t * | opt = "" | |||
) |
TBrowser::TBrowser | ( | const char * | name, | |
void * | obj, | |||
TClass * | cl, | |||
const char * | objname, | |||
const char * | title, | |||
Int_t | x, | |||
Int_t | y, | |||
UInt_t | width, | |||
UInt_t | height, | |||
Option_t * | opt = "" | |||
) |
virtual TBrowser::~TBrowser | ( | ) | [virtual] |
Definition at line 254 of file TBrowser.cxx.
References TBrowserImp::Add(), fImp, and TObject::kMustCleanup.
Referenced by Add(), Create(), and TAutoInspector::Inspect().
Definition at line 267 of file TBrowser.cxx.
References Add(), xmlio::Class, TClass::DynamicCast(), TClass::IsTObject(), and kTRUE.
Definition at line 297 of file TBrowser.cxx.
References TBrowserImp::CheckObjectItem(), and fImp.
Referenced by TGeoVolume::SetVisibility().
void TBrowser::RemoveCheckBox | ( | TObject * | obj | ) |
void TBrowser::Create | ( | TObject * | obj = 0 |
) | [virtual] |
Definition at line 317 of file TBrowser.cxx.
References TSeqCollection::Add(), Add(), TSystem::AddTimer(), TBrowserImp::BrowseObj(), fContextMenu, fImp, fNeedRefresh, fTimer, TROOT::GetListOfBrowsers(), TROOT::GetListOfGlobalFunctions(), TROOT::GetListOfGlobals(), gROOT, gROOTMutex, gSystem, kFALSE, kTRUE, and R__LOCKGUARD2.
Referenced by TBrowser().
void TBrowser::BrowseObject | ( | TObject * | obj | ) | [inline] |
void TBrowser::ExecuteDefaultAction | ( | TObject * | obj | ) |
Definition at line 349 of file TBrowser.cxx.
References TBrowserImp::ExecuteDefaultAction(), and fImp.
TBrowserImp* TBrowser::GetBrowserImp | ( | ) | const [inline] |
void TBrowser::SetBrowserImp | ( | TBrowserImp * | i | ) | [inline] |
TContextMenu* TBrowser::GetContextMenu | ( | ) | const [inline] |
Definition at line 97 of file TBrowser.h.
References fContextMenu.
Referenced by TRootBrowserLite::ProcessMessage().
Bool_t TBrowser::GetRefreshFlag | ( | ) | const [inline] |
Definition at line 98 of file TBrowser.h.
References fNeedRefresh.
Referenced by TBrowserTimer::Notify(), and TRootBrowserLite::Refresh().
TObject* TBrowser::GetSelected | ( | ) | const [inline] |
void TBrowser::SetRefreshFlag | ( | Bool_t | flag | ) | [inline] |
Definition at line 100 of file TBrowser.h.
References fNeedRefresh.
Referenced by TRootBrowserLite::BrowseObj(), TRootBrowserLite::IconBoxAction(), and TBrowserTimer::Notify().
void TBrowser::Iconify | ( | ) | [inline] |
void TBrowser::RecursiveRemove | ( | TObject * | obj | ) | [virtual] |
Reimplemented from TObject.
Definition at line 359 of file TBrowser.cxx.
References fImp, fNeedRefresh, kTRUE, and TBrowserImp::RecursiveRemove().
Referenced by TGeoManager::SetTopVolume().
void TBrowser::Refresh | ( | ) |
Definition at line 370 of file TBrowser.cxx.
References fImp, fNeedRefresh, kFALSE, kTRUE, and TBrowserImp::Refresh().
Referenced by TContextMenu::Action(), TContextMenu::Execute(), TBrowserTimer::Notify(), and TGeoVolume::SetVisibility().
void TBrowser::SetSelected | ( | TObject * | clickedObject | ) |
void TBrowser::Show | ( | ) | [inline] |
void TBrowser::SetDrawOption | ( | Option_t * | option = "" |
) | [inline, virtual] |
Reimplemented from TObject.
Definition at line 106 of file TBrowser.h.
References fImp, option, and TBrowserImp::SetDrawOption().
Referenced by TRootBrowserLite::ExecuteDefaultAction(), and TGFileBrowser::XXExecuteDefaultAction().
Option_t* TBrowser::GetDrawOption | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 107 of file TBrowser.h.
References fImp, and TBrowserImp::GetDrawOption().
void TBrowser::SetStatusText | ( | const char * | txt, | |
Int_t | col | |||
) | [inline] |
void TBrowser::StopEmbedding | ( | const char * | name = "" |
) | [inline] |
void TBrowser::RemoveCheckBox | ( | TObject * | obj | ) |
virtual void TBrowser::Create | ( | TObject * | obj = 0 |
) | [virtual] |
void TBrowser::BrowseObject | ( | TObject * | obj | ) | [inline] |
void TBrowser::ExecuteDefaultAction | ( | TObject * | obj | ) |
TBrowserImp* TBrowser::GetBrowserImp | ( | ) | const [inline] |
void TBrowser::SetBrowserImp | ( | TBrowserImp * | i | ) | [inline] |
TContextMenu* TBrowser::GetContextMenu | ( | ) | const [inline] |
Bool_t TBrowser::GetRefreshFlag | ( | ) | const [inline] |
TObject* TBrowser::GetSelected | ( | ) | const [inline] |
void TBrowser::SetRefreshFlag | ( | Bool_t | flag | ) | [inline] |
void TBrowser::Iconify | ( | ) | [inline] |
void TBrowser::Refresh | ( | ) |
void TBrowser::SetSelected | ( | TObject * | clickedObject | ) |
void TBrowser::Show | ( | ) | [inline] |
void TBrowser::SetDrawOption | ( | Option_t * | option = "" |
) | [inline, virtual] |
Reimplemented from TObject.
Definition at line 106 of file TBrowser.h.
References fImp, option, and TBrowserImp::SetDrawOption().
Option_t* TBrowser::GetDrawOption | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 107 of file TBrowser.h.
References fImp, and TBrowserImp::GetDrawOption().
void TBrowser::SetStatusText | ( | const char * | txt, | |
Int_t | col | |||
) | [inline] |
void TBrowser::StopEmbedding | ( | const char * | name = "" |
) | [inline] |
TObject* TBrowser::fLastSelectedObject [private] |
TBrowserImp* TBrowser::fImp [protected] |
Definition at line 50 of file TBrowser.h.
Referenced by Add(), AddCheckBox(), BrowseObject(), CheckObjectItem(), Create(), ExecPlugin(), ExecuteDefaultAction(), GetBrowserImp(), GetDrawOption(), Iconify(), RecursiveRemove(), Refresh(), RemoveCheckBox(), SetBrowserImp(), SetDrawOption(), SetStatusText(), Show(), StartEmbedding(), StopEmbedding(), TBrowser(), and ~TBrowser().
TBrowserTimer* TBrowser::fTimer [protected] |
Window system specific browser implementation.
Definition at line 51 of file TBrowser.h.
Referenced by Create(), and ~TBrowser().
TContextMenu* TBrowser::fContextMenu [protected] |
Browser's timer.
Definition at line 52 of file TBrowser.h.
Referenced by Create(), GetContextMenu(), and ~TBrowser().
Bool_t TBrowser::fNeedRefresh [protected] |
Context menu pointer.
Definition at line 53 of file TBrowser.h.
Referenced by Create(), GetRefreshFlag(), RecursiveRemove(), Refresh(), and SetRefreshFlag().
TObject* TBrowser::fLastSelectedObject [private] |
Definition at line 44 of file TBrowser.h.
TBrowserImp* TBrowser::fImp [protected] |
Definition at line 50 of file TBrowser.h.
TBrowserTimer* TBrowser::fTimer [protected] |
TContextMenu* TBrowser::fContextMenu [protected] |