TRootIconBox Class Reference

Inheritance diagram for TRootIconBox:

TGFileContainer TGLVContainer TGLVContainer TGContainer TGContainer TGContainer TGContainer TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame List of all members.

Public Member Functions

 TRootIconBox (TRootBrowserLite *browser, TGListView *lv, UInt_t options=kSunkenFrame, ULong_t back=GetDefaultFrameBackground())
virtual ~TRootIconBox ()
void AddObjItem (const char *name, TObject *obj, TClass *cl)
void GetObjPictures (const TGPicture **pic, const TGPicture **spic, TObject *obj, const char *name)
void SetObjHeaders ()
void Refresh ()
void RemoveAll ()
void SetGroupSize (Int_t siz)
Int_t GetGroupSize () const
TGFrameElementFindFrame (Int_t x, Int_t y, Bool_t exclude=kTRUE)
Bool_t WasGrouped () const

Private Member Functions

void * FindItem (const TString &name, Bool_t direction=kTRUE, Bool_t caseSensitive=kTRUE, Bool_t beginWith=kFALSE)
void RemoveGarbage ()

Private Attributes

Bool_t fCheckHeaders
TRootIconListfCurrentList
TRootObjItemfCurrentItem
Bool_t fGrouped
TString fCachedPicName
TListfGarbage
Int_t fGroupSize
TGStringfCurrentName
const TGPicturefLargeCachedPic
const TGPicturefSmallCachedPic
Bool_t fWasGrouped
TObjectfActiveObject
Bool_t fIsEmpty
THashTablefThumbnails
Bool_t fAutoThumbnail
TRootBrowserLitefBrowser

Friends

class TRootIconList
class TRootBrowserLite

Detailed Description

Definition at line 383 of file TRootBrowserLite.cxx.


Constructor & Destructor Documentation

TRootIconBox::TRootIconBox ( TRootBrowserLite browser,
TGListView lv,
UInt_t  options = kSunkenFrame,
ULong_t  back = GetDefaultFrameBackground() 
)

Definition at line 431 of file TRootBrowserLite.cxx.

References fActiveObject, fAutoThumbnail, fBrowser, fCheckHeaders, fCurrentItem, fCurrentList, fCurrentName, fGarbage, fGrouped, fGroupSize, fIsEmpty, TGLVContainer::fListView, TGFileContainer::fRefresh, fThumbnails, TGContainer::fTotal, fWasGrouped, kFALSE, kTRUE, and TGFileContainer::StopRefreshTimer().

TRootIconBox::~TRootIconBox (  )  [virtual]

Definition at line 459 of file TRootBrowserLite.cxx.

References fGarbage, fThumbnails, RemoveAll(), and RemoveGarbage().


Member Function Documentation

void * TRootIconBox::FindItem ( const TString name,
Bool_t  direction = kTRUE,
Bool_t  caseSensitive = kTRUE,
Bool_t  beginWith = kFALSE 
) [private, virtual]

Reimplemented from TGContainer.

Definition at line 776 of file TRootBrowserLite.cxx.

References TList::After(), TList::Before(), fActiveObject, TGFrameElement::fFrame, fGrouped, TGContainer::FindItem(), TList::First(), TGContainer::fLastActiveEl, TGContainer::fLastCase, TGContainer::fLastDir, TGContainer::fLastName, TGCompositeFrame::fList, TGLVEntry::GetUserData(), TString::kExact, TString::kIgnoreCase, kNPOS, TList::Last(), name, and str.

void TRootIconBox::RemoveGarbage (  )  [private]

Definition at line 532 of file TRootBrowserLite.cxx.

References TList::Clear(), TList::Delete(), and fGarbage.

Referenced by TRootIconList::Browse(), and ~TRootIconBox().

void TRootIconBox::AddObjItem ( const char *  name,
TObject obj,
TClass cl 
)

Definition at line 546 of file TRootBrowserLite.cxx.

References TList::Add(), TGFileContainer::AddFile(), TGLVContainer::AddItem(), TGFileContainer::AddRemoteFile(), xmlio::Class, TSystem::ConcatFileName(), TQObject::Connect(), data, TGWindow::DestroyWindow(), fBrowser, fCheckHeaders, fCurrentItem, fCurrentList, fCurrentName, TGFrameElement::fFrame, fGarbage, fGrouped, fGroupSize, fi, THashTable::FindObject(), fIsEmpty, TIconBoxThumb::fLarge, TGCompositeFrame::fList, TGLVContainer::fListView, TString::Format(), TIconBoxThumb::fSmall, fThumbnails, TGContainer::fTotal, fWasGrouped, TGListView::GetHeader(), TGListView::GetHeaderButtons(), TCollection::GetName(), GetObjPictures(), TRootIconList::GetPicture(), TCollection::GetSize(), TGListView::GetViewMode(), gSystem, gVirtualX, if(), TSystem::IsAbsoluteFileName(), kFALSE, kTRUE, kViewArrangeByDate, kViewArrangeByName, kViewArrangeBySize, kViewArrangeByType, TList::Remove(), TGListView::SetDefaultHeaders(), TGFileItem::SetDNDData(), TGFrame::SetDNDSource(), SetObjHeaders(), TGString::SetString(), TGLVEntry::SetUserData(), str, TRootIconList, TSystem::UnixPathName(), TRootIconList::UpdateName(), and TSystem::WorkingDirectory().

Referenced by TRootBrowserLite::AddToBox().

void TRootIconBox::GetObjPictures ( const TGPicture **  pic,
const TGPicture **  spic,
TObject obj,
const char *  name 
)

Definition at line 470 of file TRootBrowserLite.cxx.

References TGMimeTypes::AddType(), TImage::Create(), fCachedPicName, TGObject::fClient, TGFileContainer::fDoc_s, TGFileContainer::fDoc_t, TGFileContainer::fFolder_s, TGFileContainer::fFolder_t, fLargeCachedPic, fSmallCachedPic, TImage::GetHeight(), TGMimeTypes::GetIcon(), TImage::GetMask(), TGClient::GetMimeTypeList(), TGPicturePool::GetPicture(), TGClient::GetPicturePool(), TImage::GetPixmap(), TImage::GetWidth(), kFALSE, kTRUE, TImage::kXpm, TImage::Scale(), and TImage::SetImageBuffer().

Referenced by AddObjItem(), and TRootIconList::Browse().

void TRootIconBox::SetObjHeaders (  ) 

Definition at line 846 of file TRootBrowserLite.cxx.

References TGLVContainer::fListView, kTextLeft, TGListView::SetHeader(), and TGListView::SetHeaders().

Referenced by AddObjItem().

void TRootIconBox::Refresh (  ) 

Definition at line 857 of file TRootBrowserLite.cxx.

References TGListView::AdjustHeaders(), TGLVContainer::fListView, TGContainer::fMsgWindow, TGContainer::fSelected, TGFileContainer::fSortType, TGContainer::fTotal, kC_CONTAINER, kCT_SELCHANGED, TGCompositeFrame::MapSubwindows(), MK_MSG(), TGFrame::SendMessage(), and TGFileContainer::Sort().

Referenced by TRootIconList::Browse(), TRootBrowserLite::BrowseObj(), and TRootBrowserLite::SetDefaults().

void TRootIconBox::RemoveAll (  )  [virtual]

Reimplemented from TGContainer.

Definition at line 873 of file TRootBrowserLite.cxx.

References fCheckHeaders, fCurrentItem, fCurrentList, fGrouped, fIsEmpty, kFALSE, kTRUE, and TGContainer::RemoveAll().

Referenced by TRootIconList::Browse(), TRootBrowserLite::BrowseObj(), and ~TRootIconBox().

void TRootIconBox::SetGroupSize ( Int_t  siz  )  [inline]

Definition at line 424 of file TRootBrowserLite.cxx.

References fGroupSize.

Referenced by TRootBrowserLite::CreateBrowser(), and TRootBrowserLite::ProcessMessage().

Int_t TRootIconBox::GetGroupSize (  )  const [inline]

Definition at line 425 of file TRootBrowserLite.cxx.

References fGroupSize.

Referenced by TRootBrowserLite::Refresh().

TGFrameElement* TRootIconBox::FindFrame ( Int_t  x,
Int_t  y,
Bool_t  exclude = kTRUE 
) [inline, virtual]

Reimplemented from TGContainer.

Definition at line 426 of file TRootBrowserLite.cxx.

References TGContainer::FindFrame().

Bool_t TRootIconBox::WasGrouped (  )  const [inline]

Definition at line 427 of file TRootBrowserLite.cxx.

References fWasGrouped.

Referenced by TRootBrowserLite::ProcessMessage(), and TRootBrowserLite::Refresh().


Friends And Related Function Documentation

friend class TRootIconList [friend]

Definition at line 384 of file TRootBrowserLite.cxx.

Referenced by AddObjItem().

friend class TRootBrowserLite [friend]

Definition at line 385 of file TRootBrowserLite.cxx.


Member Data Documentation

Bool_t TRootIconBox::fCheckHeaders [private]

Definition at line 388 of file TRootBrowserLite.cxx.

Referenced by AddObjItem(), RemoveAll(), and TRootIconBox().

TRootIconList* TRootIconBox::fCurrentList [private]

Definition at line 389 of file TRootBrowserLite.cxx.

Referenced by AddObjItem(), RemoveAll(), and TRootIconBox().

TRootObjItem* TRootIconBox::fCurrentItem [private]

Definition at line 390 of file TRootBrowserLite.cxx.

Referenced by AddObjItem(), RemoveAll(), and TRootIconBox().

Bool_t TRootIconBox::fGrouped [private]

Definition at line 391 of file TRootBrowserLite.cxx.

Referenced by AddObjItem(), FindItem(), RemoveAll(), and TRootIconBox().

TString TRootIconBox::fCachedPicName [private]

Definition at line 392 of file TRootBrowserLite.cxx.

Referenced by GetObjPictures().

TList* TRootIconBox::fGarbage [private]

Definition at line 393 of file TRootBrowserLite.cxx.

Referenced by AddObjItem(), TRootIconList::Browse(), RemoveGarbage(), TRootIconBox(), and ~TRootIconBox().

Int_t TRootIconBox::fGroupSize [private]

Definition at line 394 of file TRootBrowserLite.cxx.

Referenced by AddObjItem(), GetGroupSize(), SetGroupSize(), and TRootIconBox().

TGString* TRootIconBox::fCurrentName [private]

Definition at line 395 of file TRootBrowserLite.cxx.

Referenced by AddObjItem(), and TRootIconBox().

const TGPicture* TRootIconBox::fLargeCachedPic [private]

Definition at line 396 of file TRootBrowserLite.cxx.

Referenced by GetObjPictures().

const TGPicture* TRootIconBox::fSmallCachedPic [private]

Definition at line 397 of file TRootBrowserLite.cxx.

Referenced by GetObjPictures().

Bool_t TRootIconBox::fWasGrouped [private]

Definition at line 398 of file TRootBrowserLite.cxx.

Referenced by AddObjItem(), TRootIconList::Browse(), TRootIconBox(), and WasGrouped().

TObject* TRootIconBox::fActiveObject [private]

Definition at line 399 of file TRootBrowserLite.cxx.

Referenced by TRootIconList::Browse(), FindItem(), and TRootIconBox().

Bool_t TRootIconBox::fIsEmpty [private]

Definition at line 400 of file TRootBrowserLite.cxx.

Referenced by AddObjItem(), RemoveAll(), and TRootIconBox().

THashTable* TRootIconBox::fThumbnails [private]

Definition at line 401 of file TRootBrowserLite.cxx.

Referenced by AddObjItem(), TRootBrowserLite::ExecuteDefaultAction(), TRootBrowserLite::ProcessMessage(), TRootIconBox(), and ~TRootIconBox().

Bool_t TRootIconBox::fAutoThumbnail [private]

Definition at line 402 of file TRootBrowserLite.cxx.

Referenced by TRootBrowserLite::CreateBrowser(), TRootBrowserLite::ExecuteDefaultAction(), TRootBrowserLite::ProcessMessage(), and TRootIconBox().

TRootBrowserLite* TRootIconBox::fBrowser [private]

Definition at line 403 of file TRootBrowserLite.cxx.

Referenced by AddObjItem(), and TRootIconBox().


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