class TEveListTreeItem: public TGListTreeItem


 Special list-tree-item for Eve.

 Most state is picked directly from TEveElement, no need to store it
 locally nor to manage its consistency.

 Handles also selected/highlighted colors and, in the future,
 drag-n-drop.

Function Members (Methods)

public:
TEveListTreeItem(TEveElement* el)
virtual~TEveListTreeItem()
virtual voidTGListTreeItem::CheckAllChildren(Bool_t = kTRUE)
virtual voidTGListTreeItem::CheckChildren(TGListTreeItem*, Bool_t)
virtual voidCheckItem(Bool_t = kTRUE)
static TClass*Class()
virtual voidClearColor()
virtual Pixel_tGetActiveColor() const
virtual const TGPicture*GetCheckBoxPicture() const
virtual Color_tGetColor() const
TGListTreeItem*TGListTreeItem::GetFirstChild() const
TGListTreeItem*TGListTreeItem::GetNextSibling() const
TGListTreeItem*TGListTreeItem::GetParent() const
virtual const TGPicture*GetPicture() const
virtual UInt_tTGListTreeItem::GetPicWidth() const
TGListTreeItem*TGListTreeItem::GetPrevSibling() const
virtual const char*GetText() const
virtual Int_tGetTextLength() const
virtual const char*GetTipText() const
virtual Int_tGetTipTextLength() const
virtual void*GetUserData() const
virtual voidTGListTreeItem::HandleDrag()
virtual voidTGListTreeItem::HandleDrop()
virtual Bool_tTGListTreeItem::HandlesDragAndDrop() const
virtual Bool_tHasCheckBox() const
virtual Bool_tTGListTreeItem::HasCheckedChild(Bool_t = kFALSE)
virtual Bool_tHasColor() const
virtual Bool_tTGListTreeItem::HasUnCheckedChild(Bool_t = kFALSE)
virtual TClass*IsA() const
virtual Bool_tIsActive() const
virtual Bool_tIsChecked() const
Bool_tTGListTreeItem::IsDNDSource() const
Bool_tTGListTreeItem::IsDNDTarget() const
virtual Bool_tTGListTreeItem::IsOpen() const
voidTGListTreeItem::Rename(const char* new_name)
virtual voidTGListTreeItem::SavePrimitive(ostream&, Option_t*, Int_t)
virtual voidSetActive(Bool_t)
virtual voidSetCheckBox(Bool_t = kTRUE)
virtual voidSetCheckBoxPictures(const TGPicture*, const TGPicture*)
virtual voidSetColor(Color_t)
voidTGListTreeItem::SetDNDSource(Bool_t onoff)
voidTGListTreeItem::SetDNDTarget(Bool_t onoff)
virtual voidTGListTreeItem::SetOpen(Bool_t o)
virtual voidSetPictures(const TGPicture*, const TGPicture*)
virtual voidSetText(const char*)
virtual voidSetTipText(const char*)
virtual voidSetUserData(void*, Bool_t = kFALSE)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidToggle()
virtual voidTGListTreeItem::UpdateState()
protected:
voidNotSupported(const char* func) const
private:
TEveListTreeItem(const TEveListTreeItem&)
TEveListTreeItem&operator=(const TEveListTreeItem&)

Data Members

protected:
TGClient*TGListTreeItem::fClientpointer to TGClient
Int_tTGListTreeItem::fDNDStateEDNDFlags
TEveElement*fElement
TGListTreeItem*TGListTreeItem::fFirstchildpointer to first child item
UInt_tTGListTreeItem::fHeightitem height
TGListTreeItem*TGListTreeItem::fLastchildpointer to last child item
TGListTreeItem*TGListTreeItem::fNextsiblingpointer to next sibling
Bool_tTGListTreeItem::fOpentrue if item is open
TGListTreeItem*TGListTreeItem::fParentpointer to parent
TGListTreeItem*TGListTreeItem::fPrevsiblingpointer to previous sibling
Int_tTGListTreeItem::fXtextx position of item text
Int_tTGListTreeItem::fYy position of item
Int_tTGListTreeItem::fYtexty position of item text

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void NotSupported(const char* func) const
 Warn about access to function members that should never be called.
 TGListTree calls them in cases that are not used by Eve.
Pixel_t GetActiveColor()
 Return highlight color corresponding to current state of TEveElement.
void Toggle()
 Item's check-box state has been toggled ... forward to element's
 render-state.
TEveListTreeItem(const TEveListTreeItem&)
TEveListTreeItem& operator=(const TEveListTreeItem& )
TEveListTreeItem(TEveElement* el)
{}
virtual ~TEveListTreeItem()
{}
Bool_t IsActive()
{ return fElement->GetSelectedLevel() != 0; }
void SetActive(Bool_t )
{ NotSupported("SetActive"); }
const char * GetText()
{ return fElement->GetElementName(); }
Int_t GetTextLength()
{ return strlen(fElement->GetElementName()); }
const char * GetTipText()
{ return fElement->GetElementTitle(); }
Int_t GetTipTextLength()
{ return strlen(fElement->GetElementTitle()); }
void SetText(const char* )
{ NotSupported("SetText"); }
void SetTipText(const char* )
{ NotSupported("SetTipText"); }
void SetUserData(void* , Bool_t = kFALSE)
{ NotSupported("SetUserData"); }
void * GetUserData()
{ return fElement; }
const TGPicture* GetPicture()
{ return fElement->GetListTreeIcon(fOpen); }
const TGPicture* GetCheckBoxPicture()
{ return fElement->GetListTreeCheckBoxIcon(); }
void SetPictures(const TGPicture* , const TGPicture* )
{ NotSupported("SetUserData"); }
void SetCheckBoxPictures(const TGPicture* , const TGPicture* )
{ NotSupported("SetUserData"); }
void SetCheckBox(Bool_t = kTRUE)
{ NotSupported("SetCheckBox"); }
Bool_t HasCheckBox()
{ return kTRUE; }
void CheckItem(Bool_t = kTRUE)
{ printf("TEveListTreeItem::CheckItem - to be ignored ... all done via signal Checked().\n"); }
Bool_t IsChecked()
{ return fElement->GetRnrState(); }
Bool_t HasColor()
 Propagation of checked-state form children to parents. Not needed, ignore.
 Item coloration (underline + minibox)
{ return fElement->HasMainColor(); }
Color_t GetColor()
{ return fElement->GetMainColor(); }
void SetColor(Color_t )
{ NotSupported("SetColor"); }
void ClearColor()
{ NotSupported("ClearColor"); }

Last change: root/eve:$Id: TEveBrowser.h 22539 2008-03-08 14:36:37Z rdm $
Last generated: 2008-06-25 08:37
Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.