Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
TGListTreeItem Class Referenceabstract

Definition at line 43 of file TGListTree.h.

Public Member Functions

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

Protected Attributes

TGClientfClient
 
Int_t fDNDState
 
TGListTreeItemfFirstchild
 
UInt_t fHeight
 
TGListTreeItemfLastchild
 
TGListTreeItemfNextsibling
 
Bool_t fOpen
 
TGListTreeItemfParent
 
TGListTreeItemfPrevsibling
 
Int_t fXtext
 
Int_t fY
 
Int_t fYtext
 

Private Member Functions

 TGListTreeItem (const TGListTreeItem &)
 
TGListTreeItemoperator= (const TGListTreeItem &)
 

Friends

class TGListTree
 

#include <TGListTree.h>

Inheritance diagram for TGListTreeItem:
[legend]

Constructor & Destructor Documentation

◆ TGListTreeItem() [1/2]

TGListTreeItem::TGListTreeItem ( const TGListTreeItem )
private

◆ TGListTreeItem() [2/2]

TGListTreeItem::TGListTreeItem ( TGClient client = gClient)

Constructor.

Definition at line 88 of file TGListTree.cxx.

◆ ~TGListTreeItem()

virtual TGListTreeItem::~TGListTreeItem ( )
inlinevirtual

Definition at line 71 of file TGListTree.h.

Member Function Documentation

◆ CheckAllChildren()

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

Reimplemented in TGListTreeItemStd.

Definition at line 110 of file TGListTree.h.

◆ CheckChildren()

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

Reimplemented in TGListTreeItemStd.

Definition at line 111 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 TGListTreeItemStd, and TEveListTreeItem.

Definition at line 120 of file TGListTree.h.

◆ GetActiveColor()

virtual Pixel_t TGListTreeItem::GetActiveColor ( ) const
pure virtual

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ GetCheckBoxPicture()

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

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ GetColor()

virtual Color_t TGListTreeItem::GetColor ( ) const
pure virtual

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ GetFirstChild()

TGListTreeItem* TGListTreeItem::GetFirstChild ( ) const
inline

Definition at line 74 of file TGListTree.h.

◆ GetLastChild()

TGListTreeItem* TGListTreeItem::GetLastChild ( ) const
inline

Definition at line 75 of file TGListTree.h.

◆ GetNextSibling()

TGListTreeItem* TGListTreeItem::GetNextSibling ( ) const
inline

Definition at line 77 of file TGListTree.h.

◆ GetParent()

TGListTreeItem* TGListTreeItem::GetParent ( ) const
inline

Definition at line 73 of file TGListTree.h.

◆ GetPicture()

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

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ GetPicWidth()

UInt_t TGListTreeItem::GetPicWidth ( ) const
virtual

Return width of item's icon.

Definition at line 99 of file TGListTree.cxx.

◆ GetPrevSibling()

TGListTreeItem* TGListTreeItem::GetPrevSibling ( ) const
inline

Definition at line 76 of file TGListTree.h.

◆ GetText()

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

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ GetTextLength()

virtual Int_t TGListTreeItem::GetTextLength ( ) const
pure virtual

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ GetTipText()

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

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ GetTipTextLength()

virtual Int_t TGListTreeItem::GetTipTextLength ( ) const
pure virtual

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ GetUserData()

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

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ HandleDrag()

virtual void TGListTreeItem::HandleDrag ( )
inlinevirtual

Definition at line 132 of file TGListTree.h.

◆ HandleDrop()

virtual void TGListTreeItem::HandleDrop ( )
inlinevirtual

Definition at line 133 of file TGListTree.h.

◆ HandlesDragAndDrop()

virtual Bool_t TGListTreeItem::HandlesDragAndDrop ( ) const
inlinevirtual

Definition at line 131 of file TGListTree.h.

◆ HasCheckBox()

virtual Bool_t TGListTreeItem::HasCheckBox ( ) const
pure virtual

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ HasCheckedChild()

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

Reimplemented in TGListTreeItemStd.

Definition at line 112 of file TGListTree.h.

◆ HasColor()

virtual Bool_t TGListTreeItem::HasColor ( ) const
pure virtual

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ HasUnCheckedChild()

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

Reimplemented in TGListTreeItemStd.

Definition at line 113 of file TGListTree.h.

◆ IsActive()

virtual Bool_t TGListTreeItem::IsActive ( ) const
pure virtual

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ IsChecked()

virtual Bool_t TGListTreeItem::IsChecked ( ) const
pure virtual

Implemented in TGListTreeItemStd, and TEveListTreeItem.

◆ IsDNDSource()

Bool_t TGListTreeItem::IsDNDSource ( ) const
inline

Definition at line 127 of file TGListTree.h.

◆ IsDNDTarget()

Bool_t TGListTreeItem::IsDNDTarget ( ) const
inline

Definition at line 128 of file TGListTree.h.

◆ IsOpen()

virtual Bool_t TGListTreeItem::IsOpen ( ) const
inlinevirtual

Definition at line 79 of file TGListTree.h.

◆ operator=()

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

◆ Rename()

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

Definition at line 86 of file TGListTree.h.

◆ SavePrimitive()

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

Reimplemented in TGListTreeItemStd.

Definition at line 135 of file TGListTree.h.

◆ SetActive()

virtual void TGListTreeItem::SetActive ( Bool_t  )
inlinevirtual

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 84 of file TGListTree.h.

◆ SetCheckBox()

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

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 103 of file TGListTree.h.

◆ SetCheckBoxPictures()

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

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 100 of file TGListTree.h.

◆ SetColor()

virtual void TGListTreeItem::SetColor ( Color_t  )
inlinevirtual

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 119 of file TGListTree.h.

◆ SetDNDSource()

void TGListTreeItem::SetDNDSource ( Bool_t  onoff)
inline

Definition at line 123 of file TGListTree.h.

◆ SetDNDTarget()

void TGListTreeItem::SetDNDTarget ( Bool_t  onoff)
inline

Definition at line 125 of file TGListTree.h.

◆ SetOpen()

virtual void TGListTreeItem::SetOpen ( Bool_t  o)
inlinevirtual

Definition at line 80 of file TGListTree.h.

◆ SetPictures()

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

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 98 of file TGListTree.h.

◆ SetText()

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

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 91 of file TGListTree.h.

◆ SetTipText()

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

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 92 of file TGListTree.h.

◆ SetUserData()

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

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 94 of file TGListTree.h.

◆ Toggle()

virtual void TGListTreeItem::Toggle ( )
inlinevirtual

Reimplemented in TGListTreeItemStd, and TEveListTreeItem.

Definition at line 106 of file TGListTree.h.

◆ UpdateState()

virtual void TGListTreeItem::UpdateState ( )
inlinevirtual

Reimplemented in TGListTreeItemStd.

Definition at line 114 of file TGListTree.h.

Friends And Related Function Documentation

◆ TGListTree

friend class TGListTree
friend

Definition at line 45 of file TGListTree.h.

Member Data Documentation

◆ fClient

TGClient* TGListTreeItem::fClient
protected

Definition at line 52 of file TGListTree.h.

◆ fDNDState

Int_t TGListTreeItem::fDNDState
protected

Definition at line 61 of file TGListTree.h.

◆ fFirstchild

TGListTreeItem* TGListTreeItem::fFirstchild
protected

Definition at line 54 of file TGListTree.h.

◆ fHeight

UInt_t TGListTreeItem::fHeight
protected

Definition at line 67 of file TGListTree.h.

◆ fLastchild

TGListTreeItem* TGListTreeItem::fLastchild
protected

Definition at line 55 of file TGListTree.h.

◆ fNextsibling

TGListTreeItem* TGListTreeItem::fNextsibling
protected

Definition at line 57 of file TGListTree.h.

◆ fOpen

Bool_t TGListTreeItem::fOpen
protected

Definition at line 59 of file TGListTree.h.

◆ fParent

TGListTreeItem* TGListTreeItem::fParent
protected

Definition at line 53 of file TGListTree.h.

◆ fPrevsibling

TGListTreeItem* TGListTreeItem::fPrevsibling
protected

Definition at line 56 of file TGListTree.h.

◆ fXtext

Int_t TGListTreeItem::fXtext
protected

Definition at line 65 of file TGListTree.h.

◆ fY

Int_t TGListTreeItem::fY
protected

Definition at line 64 of file TGListTree.h.

◆ fYtext

Int_t TGListTreeItem::fYtext
protected

Definition at line 66 of file TGListTree.h.

Libraries for TGListTreeItem:
[legend]

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