Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGListTreeItem Class Referenceabstract

Definition at line 26 of file TGListTree.h.

Public Member Functions

 TGListTreeItem (TGClient *client=(TGClient::Instance()))
 Constructor.
 
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.
 
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 void * GetUserData () 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 TClassIsA () const
 
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 Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void Toggle ()
 
virtual void UpdateState ()
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Attributes

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

Private Member Functions

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

Friends

class TGListTree
 

#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 = (TGClient::Instance()))

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.

◆ Class()

static TClass * TGListTreeItem::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TGListTreeItem::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TGListTreeItem::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 122 of file TGListTree.h.

◆ ClearColor()

virtual void TGListTreeItem::ClearColor ( )
inlinevirtual

Reimplemented in TEveListTreeItem, and TGListTreeItemStd.

Definition at line 105 of file TGListTree.h.

◆ DeclFileName()

static const char * TGListTreeItem::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 122 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.

◆ IsA()

virtual TClass * TGListTreeItem::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented in TEveListTreeItem, and TGListTreeItemStd.

Definition at line 122 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.

◆ Streamer()

virtual void TGListTreeItem::Streamer ( TBuffer )
virtual

Reimplemented in TEveListTreeItem, and TGListTreeItemStd.

◆ StreamerNVirtual()

void TGListTreeItem::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 122 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 Symbol 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:

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