Logo ROOT  
Reference Guide
TGListTreeItem Class Referenceabstract

Definition at line 26 of file TGListTree.h.

Public Member Functions

 TGListTreeItem (TGClient *client=gClient)
 Constructor. More...
 
virtual ~TGListTreeItem ()
  More...
 
virtual void CheckAllChildren (Bool_t=kTRUE)
  More...
 
virtual void CheckChildren (TGListTreeItem *, Bool_t)
  More...
 
virtual void CheckItem (Bool_t=kTRUE)=0
  More...
 
virtual void ClearColor ()
  More...
 
virtual Pixel_t GetActiveColor () const =0
  More...
 
virtual const TGPictureGetCheckBoxPicture () const =0
  More...
 
virtual Color_t GetColor () const =0
  More...
 
TGListTreeItemGetFirstChild () const
  More...
 
TGListTreeItemGetLastChild () const
  More...
 
TGListTreeItemGetNextSibling () const
  More...
 
TGListTreeItemGetParent () const
  More...
 
virtual const TGPictureGetPicture () const =0
  More...
 
virtual UInt_t GetPicWidth () const
 Return width of item's icon. More...
 
TGListTreeItemGetPrevSibling () const
  More...
 
virtual const char * GetText () const =0
  More...
 
virtual Int_t GetTextLength () const =0
  More...
 
virtual const char * GetTipText () const =0
  More...
 
virtual Int_t GetTipTextLength () const =0
  More...
 
virtual voidGetUserData () const =0
  More...
 
virtual void HandleDrag ()
  More...
 
virtual void HandleDrop ()
  More...
 
virtual Bool_t HandlesDragAndDrop () const
  More...
 
virtual Bool_t HasCheckBox () const =0
  More...
 
virtual Bool_t HasCheckedChild (Bool_t=kFALSE)
  More...
 
virtual Bool_t HasColor () const =0
  More...
 
virtual Bool_t HasUnCheckedChild (Bool_t=kFALSE)
  More...
 
virtual Bool_t IsActive () const =0
  More...
 
virtual Bool_t IsChecked () const =0
  More...
 
Bool_t IsDNDSource () const
  More...
 
Bool_t IsDNDTarget () const
  More...
 
virtual Bool_t IsOpen () const
  More...
 
void Rename (const char *new_name)
  More...
 
virtual void SavePrimitive (std::ostream &, Option_t *, Int_t)
  More...
 
virtual void SetActive (Bool_t)
  More...
 
virtual void SetCheckBox (Bool_t=kTRUE)
  More...
 
virtual void SetCheckBoxPictures (const TGPicture *, const TGPicture *)
  More...
 
virtual void SetColor (Color_t)
  More...
 
void SetDNDSource (Bool_t onoff)
  More...
 
void SetDNDTarget (Bool_t onoff)
  More...
 
virtual void SetOpen (Bool_t o)
  More...
 
virtual void SetPictures (const TGPicture *, const TGPicture *)
  More...
 
virtual void SetText (const char *)
  More...
 
virtual void SetTipText (const char *)
  More...
 
virtual void SetUserData (void *, Bool_t=kFALSE)
  More...
 
virtual void Toggle ()
  More...
 
virtual void UpdateState ()
  More...
 

Protected Attributes

TGClientfClient
 pointer to TGClient More...
 
Int_t fDNDState
 EDNDFlags. More...
 
TGListTreeItemfFirstchild
 pointer to first child item More...
 
TGListTreeItemfLastchild
 pointer to last child item More...
 
TGListTreeItemfNextsibling
 pointer to next sibling More...
 
Bool_t fOpen
 true if item is open More...
 
TGListTreeItemfParent
 pointer to parent More...
 
TGListTreeItemfPrevsibling
 pointer to previous sibling More...
 
State managed by TGListTree during drawing.
Int_t fY
  More...
 
Int_t fXtext
  More...
 
Int_t fYtext
  More...
 
UInt_t fHeight
  More...
 

Private Member Functions

 TGListTreeItem (const TGListTreeItem &)=delete
  More...
 
TGListTreeItemoperator= (const TGListTreeItem &)=delete
  More...
 

Friends

class TGListTree
  More...
 

#include <TGListTree.h>

Inheritance diagram for TGListTreeItem:
[legend]

Constructor & Destructor Documentation

◆ TGListTreeItem() [1/2]

TGListTreeItem::TGListTreeItem ( const TGListTreeItem )
privatedelete

◆ TGListTreeItem() [2/2]

TGListTreeItem::TGListTreeItem ( TGClient client = gClient)

Constructor.

Definition at line 91 of file TGListTree.cxx.

◆ ~TGListTreeItem()

virtual TGListTreeItem::~TGListTreeItem ( )
inlinevirtual

Definition at line 56 of file TGListTree.h.

Member Function Documentation

◆ CheckAllChildren()

virtual void TGListTreeItem::CheckAllChildren ( Bool_t  = kTRUE)
inlinevirtual

Reimplemented in TGListTreeItemStd.

Definition at line 95 of file TGListTree.h.

◆ CheckChildren()

virtual void TGListTreeItem::CheckChildren ( TGListTreeItem ,
Bool_t   
)
inlinevirtual

Reimplemented in TGListTreeItemStd.

Definition at line 96 of file TGListTree.h.

◆ CheckItem()

virtual void TGListTreeItem::CheckItem ( Bool_t  = kTRUE)
pure virtual

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ ClearColor()

virtual void TGListTreeItem::ClearColor ( )
inlinevirtual

Reimplemented in TEveListTreeItem, and TGListTreeItemStd.

Definition at line 105 of file TGListTree.h.

◆ GetActiveColor()

virtual Pixel_t TGListTreeItem::GetActiveColor ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ GetCheckBoxPicture()

virtual const TGPicture* TGListTreeItem::GetCheckBoxPicture ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ GetColor()

virtual Color_t TGListTreeItem::GetColor ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ GetFirstChild()

TGListTreeItem* TGListTreeItem::GetFirstChild ( ) const
inline

Definition at line 59 of file TGListTree.h.

◆ GetLastChild()

TGListTreeItem* TGListTreeItem::GetLastChild ( ) const
inline

Definition at line 60 of file TGListTree.h.

◆ GetNextSibling()

TGListTreeItem* TGListTreeItem::GetNextSibling ( ) const
inline

Definition at line 62 of file TGListTree.h.

◆ GetParent()

TGListTreeItem* TGListTreeItem::GetParent ( ) const
inline

Definition at line 58 of file TGListTree.h.

◆ GetPicture()

virtual const TGPicture* TGListTreeItem::GetPicture ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ GetPicWidth()

UInt_t TGListTreeItem::GetPicWidth ( ) const
virtual

Return width of item's icon.

Definition at line 102 of file TGListTree.cxx.

◆ GetPrevSibling()

TGListTreeItem* TGListTreeItem::GetPrevSibling ( ) const
inline

Definition at line 61 of file TGListTree.h.

◆ GetText()

virtual const char* TGListTreeItem::GetText ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ GetTextLength()

virtual Int_t TGListTreeItem::GetTextLength ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ GetTipText()

virtual const char* TGListTreeItem::GetTipText ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ GetTipTextLength()

virtual Int_t TGListTreeItem::GetTipTextLength ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ GetUserData()

virtual void* TGListTreeItem::GetUserData ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ HandleDrag()

virtual void TGListTreeItem::HandleDrag ( )
inlinevirtual

Definition at line 117 of file TGListTree.h.

◆ HandleDrop()

virtual void TGListTreeItem::HandleDrop ( )
inlinevirtual

Definition at line 118 of file TGListTree.h.

◆ HandlesDragAndDrop()

virtual Bool_t TGListTreeItem::HandlesDragAndDrop ( ) const
inlinevirtual

Definition at line 116 of file TGListTree.h.

◆ HasCheckBox()

virtual Bool_t TGListTreeItem::HasCheckBox ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ HasCheckedChild()

virtual Bool_t TGListTreeItem::HasCheckedChild ( Bool_t  = kFALSE)
inlinevirtual

Reimplemented in TGListTreeItemStd.

Definition at line 97 of file TGListTree.h.

◆ HasColor()

virtual Bool_t TGListTreeItem::HasColor ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ HasUnCheckedChild()

virtual Bool_t TGListTreeItem::HasUnCheckedChild ( Bool_t  = kFALSE)
inlinevirtual

Reimplemented in TGListTreeItemStd.

Definition at line 98 of file TGListTree.h.

◆ IsActive()

virtual Bool_t TGListTreeItem::IsActive ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ IsChecked()

virtual Bool_t TGListTreeItem::IsChecked ( ) const
pure virtual

Implemented in TEveListTreeItem, and TGListTreeItemStd.

◆ IsDNDSource()

Bool_t TGListTreeItem::IsDNDSource ( ) const
inline

Definition at line 112 of file TGListTree.h.

◆ IsDNDTarget()

Bool_t TGListTreeItem::IsDNDTarget ( ) const
inline

Definition at line 113 of file TGListTree.h.

◆ IsOpen()

virtual Bool_t TGListTreeItem::IsOpen ( ) const
inlinevirtual

Definition at line 64 of file TGListTree.h.

◆ operator=()

TGListTreeItem& TGListTreeItem::operator= ( const TGListTreeItem )
privatedelete

◆ Rename()

void TGListTreeItem::Rename ( const char *  new_name)
inline

Definition at line 71 of file TGListTree.h.

◆ SavePrimitive()

virtual void TGListTreeItem::SavePrimitive ( std::ostream &  ,
Option_t ,
Int_t   
)
inlinevirtual

Reimplemented in TGListTreeItemStd.

Definition at line 120 of file TGListTree.h.

◆ SetActive()

virtual void TGListTreeItem::SetActive ( Bool_t  )
inlinevirtual

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 69 of file TGListTree.h.

◆ SetCheckBox()

virtual void TGListTreeItem::SetCheckBox ( Bool_t  = kTRUE)
inlinevirtual

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 88 of file TGListTree.h.

◆ SetCheckBoxPictures()

virtual void TGListTreeItem::SetCheckBoxPictures ( const TGPicture ,
const TGPicture  
)
inlinevirtual

Reimplemented in TEveListTreeItem, and TGListTreeItemStd.

Definition at line 85 of file TGListTree.h.

◆ SetColor()

virtual void TGListTreeItem::SetColor ( Color_t  )
inlinevirtual

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 104 of file TGListTree.h.

◆ SetDNDSource()

void TGListTreeItem::SetDNDSource ( Bool_t  onoff)
inline

Definition at line 108 of file TGListTree.h.

◆ SetDNDTarget()

void TGListTreeItem::SetDNDTarget ( Bool_t  onoff)
inline

Definition at line 110 of file TGListTree.h.

◆ SetOpen()

virtual void TGListTreeItem::SetOpen ( Bool_t  o)
inlinevirtual

Definition at line 65 of file TGListTree.h.

◆ SetPictures()

virtual void TGListTreeItem::SetPictures ( const TGPicture ,
const TGPicture  
)
inlinevirtual

Reimplemented in TEveListTreeItem, and TGListTreeItemStd.

Definition at line 83 of file TGListTree.h.

◆ SetText()

virtual void TGListTreeItem::SetText ( const char *  )
inlinevirtual

Reimplemented in TEveListTreeItem, and TGListTreeItemStd.

Definition at line 76 of file TGListTree.h.

◆ SetTipText()

virtual void TGListTreeItem::SetTipText ( const char *  )
inlinevirtual

Reimplemented in TEveListTreeItem, and TGListTreeItemStd.

Definition at line 77 of file TGListTree.h.

◆ SetUserData()

virtual void TGListTreeItem::SetUserData ( void ,
Bool_t  = kFALSE 
)
inlinevirtual

Reimplemented in TEveListTreeItem, and TGListTreeItemStd.

Definition at line 79 of file TGListTree.h.

◆ Toggle()

virtual void TGListTreeItem::Toggle ( )
inlinevirtual

Reimplemented in TEveListTreeItem, and TGListTreeItemStd.

Definition at line 91 of file TGListTree.h.

◆ UpdateState()

virtual void TGListTreeItem::UpdateState ( )
inlinevirtual

Reimplemented in TGListTreeItemStd.

Definition at line 99 of file TGListTree.h.

Friends And Related Function Documentation

◆ TGListTree

friend class TGListTree
friend

Definition at line 28 of file TGListTree.h.

Member Data Documentation

◆ fClient

TGClient* TGListTreeItem::fClient
protected

pointer to TGClient

Definition at line 35 of file TGListTree.h.

◆ fDNDState

Int_t TGListTreeItem::fDNDState
protected

EDNDFlags.

Definition at line 44 of file TGListTree.h.

◆ fFirstchild

TGListTreeItem* TGListTreeItem::fFirstchild
protected

pointer to first child item

Definition at line 37 of file TGListTree.h.

◆ fHeight

UInt_t TGListTreeItem::fHeight
protected

Definition at line 51 of file TGListTree.h.

◆ fLastchild

TGListTreeItem* TGListTreeItem::fLastchild
protected

pointer to last child item

Definition at line 38 of file TGListTree.h.

◆ fNextsibling

TGListTreeItem* TGListTreeItem::fNextsibling
protected

pointer to next sibling

Definition at line 40 of file TGListTree.h.

◆ fOpen

Bool_t TGListTreeItem::fOpen
protected

true if item is open

Definition at line 42 of file TGListTree.h.

◆ fParent

TGListTreeItem* TGListTreeItem::fParent
protected

pointer to parent

Definition at line 36 of file TGListTree.h.

◆ fPrevsibling

TGListTreeItem* TGListTreeItem::fPrevsibling
protected

pointer to previous sibling

Definition at line 39 of file TGListTree.h.

◆ fXtext

Int_t TGListTreeItem::fXtext
protected

Definition at line 49 of file TGListTree.h.

◆ fY

Int_t TGListTreeItem::fY
protected

Definition at line 48 of file TGListTree.h.

◆ fYtext

Int_t TGListTreeItem::fYtext
protected

Definition at line 50 of file TGListTree.h.

Libraries for TGListTreeItem:
[legend]

The documentation for this class was generated from the following files: