ROOT 6.18/05 Reference Guide |
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.
Definition at line 29 of file TEveBrowser.h.
Public Member Functions | |
TEveListTreeItem (TEveElement *el) | |
virtual | ~TEveListTreeItem () |
virtual void | CheckItem (Bool_t=kTRUE) |
virtual void | ClearColor () |
virtual Pixel_t | GetActiveColor () const |
Return highlight color corresponding to current state of TEveElement. More... | |
virtual const TGPicture * | GetCheckBoxPicture () const |
virtual Color_t | GetColor () const |
virtual const TGPicture * | GetPicture () const |
virtual const char * | GetText () const |
virtual Int_t | GetTextLength () const |
virtual const char * | GetTipText () const |
virtual Int_t | GetTipTextLength () const |
virtual void * | GetUserData () const |
virtual Bool_t | HasCheckBox () const |
virtual Bool_t | HasColor () const |
virtual Bool_t | IsActive () const |
virtual Bool_t | IsChecked () const |
virtual void | SetActive (Bool_t) |
virtual void | SetCheckBox (Bool_t=kTRUE) |
virtual void | SetCheckBoxPictures (const TGPicture *, const TGPicture *) |
virtual void | SetColor (Color_t) |
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 () |
Item's check-box state has been toggled ... forward to element's render-state. More... | |
Public Member Functions inherited from TGListTreeItem | |
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 TGPicture * | GetCheckBoxPicture () const =0 |
virtual Color_t | GetColor () const =0 |
TGListTreeItem * | GetFirstChild () const |
TGListTreeItem * | GetLastChild () const |
TGListTreeItem * | GetNextSibling () const |
TGListTreeItem * | GetParent () const |
virtual const TGPicture * | GetPicture () const =0 |
virtual UInt_t | GetPicWidth () const |
Return width of item's icon. More... | |
TGListTreeItem * | GetPrevSibling () 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 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 Member Functions | |
void | NotSupported (const char *func) const |
Warn about access to function members that should never be called. More... | |
Protected Attributes | |
TEveElement * | fElement |
Protected Attributes inherited from TGListTreeItem | |
TGClient * | fClient |
Int_t | fDNDState |
TGListTreeItem * | fFirstchild |
UInt_t | fHeight |
TGListTreeItem * | fLastchild |
TGListTreeItem * | fNextsibling |
Bool_t | fOpen |
TGListTreeItem * | fParent |
TGListTreeItem * | fPrevsibling |
Int_t | fXtext |
Int_t | fY |
Int_t | fYtext |
Private Member Functions | |
TEveListTreeItem (const TEveListTreeItem &) | |
TEveListTreeItem & | operator= (const TEveListTreeItem &) |
#include <TEveBrowser.h>
|
private |
|
inline |
Definition at line 41 of file TEveBrowser.h.
|
inlinevirtual |
Definition at line 42 of file TEveBrowser.h.
Implements TGListTreeItem.
Definition at line 66 of file TEveBrowser.h.
|
inlinevirtual |
Reimplemented from TGListTreeItem.
Definition at line 76 of file TEveBrowser.h.
|
virtual |
Return highlight color corresponding to current state of TEveElement.
Implements TGListTreeItem.
Definition at line 83 of file TEveBrowser.cxx.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 59 of file TEveBrowser.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 74 of file TEveBrowser.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 58 of file TEveBrowser.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 48 of file TEveBrowser.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 49 of file TEveBrowser.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 50 of file TEveBrowser.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 51 of file TEveBrowser.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 56 of file TEveBrowser.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 65 of file TEveBrowser.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 73 of file TEveBrowser.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 44 of file TEveBrowser.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 68 of file TEveBrowser.h.
|
protected |
Warn about access to function members that should never be called.
TGListTree calls them in cases that are not used by Eve.
Definition at line 75 of file TEveBrowser.cxx.
|
private |
Reimplemented from TGListTreeItem.
Definition at line 46 of file TEveBrowser.h.
Reimplemented from TGListTreeItem.
Definition at line 64 of file TEveBrowser.h.
|
inlinevirtual |
Reimplemented from TGListTreeItem.
Definition at line 62 of file TEveBrowser.h.
Reimplemented from TGListTreeItem.
Definition at line 75 of file TEveBrowser.h.
Reimplemented from TGListTreeItem.
Definition at line 61 of file TEveBrowser.h.
|
inlinevirtual |
Reimplemented from TGListTreeItem.
Definition at line 52 of file TEveBrowser.h.
|
inlinevirtual |
Reimplemented from TGListTreeItem.
Definition at line 53 of file TEveBrowser.h.
Reimplemented from TGListTreeItem.
Definition at line 55 of file TEveBrowser.h.
|
virtual |
Item's check-box state has been toggled ... forward to element's render-state.
Reimplemented from TGListTreeItem.
Definition at line 99 of file TEveBrowser.cxx.
|
protected |
Definition at line 36 of file TEveBrowser.h.