ROOT logo
ROOT » GRAF3D » EVE » TEveListTreeItem

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,

Function Members (Methods)

TEveListTreeItem(TEveElement* el)
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::GetLastChild() 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()
voidNotSupported(const char* func) const

Data Members

TGClient*TGListTreeItem::fClientpointer to TGClient
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() const
 Return highlight color corresponding to current state of TEveElement.
void Toggle()
 Item's check-box state has been toggled ... forward to element's
TEveListTreeItem(const TEveListTreeItem&)
TEveListTreeItem& operator=(const TEveListTreeItem& )
TEveListTreeItem(TEveElement* el)
virtual ~TEveListTreeItem()
Bool_t IsActive() const
{ return fElement->GetSelectedLevel() != 0; }
void SetActive(Bool_t )
{ NotSupported("SetActive"); }
const char * GetText() const
{ return fElement->GetElementName(); }
Int_t GetTextLength() const
{ return strlen(fElement->GetElementName()); }
const char * GetTipText() const
{ return fElement->GetElementTitle(); }
Int_t GetTipTextLength() const
{ 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() const
{ return fElement; }
const TGPicture* GetPicture() const
{ return fElement->GetListTreeIcon(fOpen); }
const TGPicture* GetCheckBoxPicture() const
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() const
{ return kTRUE; }
void CheckItem(Bool_t = kTRUE)
{ printf("TEveListTreeItem::CheckItem - to be ignored ... all done via signal Checked().\n"); }
Bool_t IsChecked() const
{ return fElement->GetRnrState(); }
Bool_t HasColor() const
 Propagation of checked-state form children to parents. Not needed, ignore.
 Item coloration (underline + minibox)
{ return fElement->HasMainColor(); }
Color_t GetColor() const
{ return fElement->GetMainColor(); }
void SetColor(Color_t )
{ NotSupported("SetColor"); }
void ClearColor()
{ NotSupported("ClearColor"); }