TBrowser Class Reference

#include <TBrowser.h>

Inheritance diagram for TBrowser:

TNamed TNamed TObject TObject TObject TObject List of all members.

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)
TBrowserImpGetBrowserImp () const
void SetBrowserImp (TBrowserImp *i)
TContextMenuGetContextMenu () const
Bool_t GetRefreshFlag () const
TObjectGetSelected () 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_tGetDrawOption () 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)
TBrowserImpGetBrowserImp () const
void SetBrowserImp (TBrowserImp *i)
TContextMenuGetContextMenu () const
Bool_t GetRefreshFlag () const
TObjectGetSelected () 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_tGetDrawOption () 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

TBrowserImpfImp
TBrowserTimerfTimer
 Window system specific browser implementation.
TContextMenufContextMenu
 Browser's timer.
Bool_t fNeedRefresh
 Context menu pointer.
TBrowserImpfImp
TBrowserTimerfTimer
 Window system specific browser implementation.
TContextMenufContextMenu
 Browser's timer.

Private Member Functions

 TBrowser (const TBrowser &)
 The last TObject selected by user.
TBrowseroperator= (const TBrowser &)
 TBrowser (const TBrowser &)
 The last TObject selected by user.
TBrowseroperator= (const TBrowser &)

Private Attributes

TObjectfLastSelectedObject
TObjectfLastSelectedObject

Detailed Description

Definition at line 41 of file TBrowser.h.


Member Enumeration Documentation

anonymous enum

Definition at line 56 of file TBrowser.h.

anonymous enum

Definition at line 56 of file TBrowser.h.


Constructor & Destructor Documentation

TBrowser::TBrowser ( const TBrowser  )  [private]

The last TObject selected by user.

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 TBrowser  )  [private]

The last TObject selected by user.

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]


Member Function Documentation

TBrowser& TBrowser::operator= ( const TBrowser  )  [private]

void TBrowser::Add ( TObject obj,
const char *  name = 0,
Int_t  check = -1 
)

Definition at line 254 of file TBrowser.cxx.

References TBrowserImp::Add(), fImp, and TObject::kMustCleanup.

Referenced by Add(), Create(), and TAutoInspector::Inspect().

void TBrowser::Add ( void *  obj,
TClass cl,
const char *  name = 0,
Int_t  check = -1 
)

Definition at line 267 of file TBrowser.cxx.

References Add(), xmlio::Class, TClass::DynamicCast(), TClass::IsTObject(), and kTRUE.

void TBrowser::AddCheckBox ( TObject obj,
Bool_t  check = kFALSE 
)

Definition at line 287 of file TBrowser.cxx.

References TBrowserImp::AddCheckBox(), and fImp.

void TBrowser::CheckObjectItem ( TObject obj,
Bool_t  check = kFALSE 
)

Definition at line 297 of file TBrowser.cxx.

References TBrowserImp::CheckObjectItem(), and fImp.

Referenced by TGeoVolume::SetVisibility().

void TBrowser::RemoveCheckBox ( TObject obj  ) 

Definition at line 307 of file TBrowser.cxx.

References fImp, and TBrowserImp::RemoveCheckBox().

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]

Definition at line 93 of file TBrowser.h.

References TBrowserImp::BrowseObj(), and fImp.

void TBrowser::ExecuteDefaultAction ( TObject obj  ) 

Definition at line 349 of file TBrowser.cxx.

References TBrowserImp::ExecuteDefaultAction(), and fImp.

TBrowserImp* TBrowser::GetBrowserImp (  )  const [inline]

Definition at line 95 of file TBrowser.h.

References fImp.

void TBrowser::SetBrowserImp ( TBrowserImp i  )  [inline]

Definition at line 96 of file TBrowser.h.

References fImp, and i.

Referenced by TEveBrowser::MakeFileBrowser().

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]

Definition at line 99 of file TBrowser.h.

References fLastSelectedObject.

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]

Definition at line 101 of file TBrowser.h.

References fImp, and TBrowserImp::Iconify().

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  ) 

Definition at line 380 of file TBrowser.cxx.

References fLastSelectedObject.

void TBrowser::Show (  )  [inline]

Definition at line 105 of file TBrowser.h.

References fImp, and TBrowserImp::Show().

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().

Long_t TBrowser::ExecPlugin ( const char *  name = 0,
const char *  fname = 0,
const char *  cmd = 0,
Int_t  pos = 1,
Int_t  subpos = -1 
) [inline]

Definition at line 109 of file TBrowser.h.

References TBrowserImp::ExecPlugin(), fImp, and name.

void TBrowser::SetStatusText ( const char *  txt,
Int_t  col 
) [inline]

Definition at line 113 of file TBrowser.h.

References fImp, and TBrowserImp::SetStatusText().

void TBrowser::StartEmbedding ( Int_t  pos,
Int_t  subpos 
) [inline]

Definition at line 116 of file TBrowser.h.

References fImp, and TBrowserImp::StartEmbedding().

void TBrowser::StopEmbedding ( const char *  name = ""  )  [inline]

Definition at line 119 of file TBrowser.h.

References fImp, name, and TBrowserImp::StopEmbedding().

TBrowser& TBrowser::operator= ( const TBrowser  )  [private]

void TBrowser::Add ( TObject obj,
const char *  name = 0,
Int_t  check = -1 
)

void TBrowser::Add ( void *  obj,
TClass cl,
const char *  name = 0,
Int_t  check = -1 
)

void TBrowser::AddCheckBox ( TObject obj,
Bool_t  check = kFALSE 
)

void TBrowser::CheckObjectItem ( TObject obj,
Bool_t  check = kFALSE 
)

void TBrowser::RemoveCheckBox ( TObject obj  ) 

virtual void TBrowser::Create ( TObject obj = 0  )  [virtual]

void TBrowser::BrowseObject ( TObject obj  )  [inline]

Definition at line 93 of file TBrowser.h.

References TBrowserImp::BrowseObj(), and fImp.

void TBrowser::ExecuteDefaultAction ( TObject obj  ) 

TBrowserImp* TBrowser::GetBrowserImp (  )  const [inline]

Definition at line 95 of file TBrowser.h.

References fImp.

void TBrowser::SetBrowserImp ( TBrowserImp i  )  [inline]

Definition at line 96 of file TBrowser.h.

References fImp, and i.

TContextMenu* TBrowser::GetContextMenu (  )  const [inline]

Definition at line 97 of file TBrowser.h.

References fContextMenu.

Bool_t TBrowser::GetRefreshFlag (  )  const [inline]

Definition at line 98 of file TBrowser.h.

References fNeedRefresh.

TObject* TBrowser::GetSelected (  )  const [inline]

Definition at line 99 of file TBrowser.h.

References fLastSelectedObject.

void TBrowser::SetRefreshFlag ( Bool_t  flag  )  [inline]

Definition at line 100 of file TBrowser.h.

References fNeedRefresh.

void TBrowser::Iconify (  )  [inline]

Definition at line 101 of file TBrowser.h.

References fImp, and TBrowserImp::Iconify().

virtual void TBrowser::RecursiveRemove ( TObject obj  )  [virtual]

Reimplemented from TObject.

void TBrowser::Refresh (  ) 

void TBrowser::SetSelected ( TObject clickedObject  ) 

void TBrowser::Show (  )  [inline]

Definition at line 105 of file TBrowser.h.

References fImp, and TBrowserImp::Show().

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().

Long_t TBrowser::ExecPlugin ( const char *  name = 0,
const char *  fname = 0,
const char *  cmd = 0,
Int_t  pos = 1,
Int_t  subpos = -1 
) [inline]

Definition at line 109 of file TBrowser.h.

References TBrowserImp::ExecPlugin(), fImp, and name.

void TBrowser::SetStatusText ( const char *  txt,
Int_t  col 
) [inline]

Definition at line 113 of file TBrowser.h.

References fImp, and TBrowserImp::SetStatusText().

void TBrowser::StartEmbedding ( Int_t  pos,
Int_t  subpos 
) [inline]

Definition at line 116 of file TBrowser.h.

References fImp, and TBrowserImp::StartEmbedding().

void TBrowser::StopEmbedding ( const char *  name = ""  )  [inline]

Definition at line 119 of file TBrowser.h.

References fImp, name, and TBrowserImp::StopEmbedding().


Member Data Documentation

TObject* TBrowser::fLastSelectedObject [private]

Definition at line 44 of file TBrowser.h.

Referenced by GetSelected(), and SetSelected().

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]

Window system specific browser implementation.

Definition at line 51 of file TBrowser.h.

TContextMenu* TBrowser::fContextMenu [protected]

Browser's timer.

Definition at line 52 of file TBrowser.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1