#include <TGListTree.h>
Inheritance diagram for TGListTreeItemStd:

Public Member Functions | |
| TGListTreeItemStd (TGClient *fClient=gClient, const char *name=0, const TGPicture *opened=0, const TGPicture *closed=0, Bool_t checkbox=kFALSE) | |
| virtual | ~TGListTreeItemStd () |
| virtual Pixel_t | GetActiveColor () const |
| virtual Bool_t | IsActive () const |
| virtual void | SetActive (Bool_t a) |
| virtual const char * | GetText () const |
| virtual Int_t | GetTextLength () const |
| virtual const char * | GetTipText () const |
| virtual Int_t | GetTipTextLength () const |
| virtual void | SetText (const char *text) |
| virtual void | SetTipText (const char *tip) |
| virtual void | SetUserData (void *userData, Bool_t own=kFALSE) |
| virtual void * | GetUserData () const |
| virtual const TGPicture * | GetPicture () const |
| virtual const TGPicture * | GetCheckBoxPicture () const |
| virtual void | SetPictures (const TGPicture *opened, const TGPicture *closed) |
| virtual void | SetCheckBoxPictures (const TGPicture *checked, const TGPicture *unchecked) |
| virtual void | SetCheckBox (Bool_t on=kTRUE) |
| virtual Bool_t | HasCheckBox () const |
| virtual void | CheckItem (Bool_t checked=kTRUE) |
| virtual void | Toggle () |
| virtual Bool_t | IsChecked () const |
| virtual void | CheckAllChildren (Bool_t state=kTRUE) |
| virtual void | CheckChildren (TGListTreeItem *item, Bool_t state) |
| virtual Bool_t | HasCheckedChild (Bool_t first=kFALSE) |
| virtual Bool_t | HasUnCheckedChild (Bool_t first=kFALSE) |
| virtual void | UpdateState () |
| virtual Bool_t | HasColor () const |
| virtual Color_t | GetColor () const |
| virtual void | SetColor (Color_t color) |
| virtual void | ClearColor () |
| virtual void | SavePrimitive (ostream &out, Option_t *option, Int_t n) |
| TGListTreeItemStd (TGClient *fClient=gClient, const char *name=0, const TGPicture *opened=0, const TGPicture *closed=0, Bool_t checkbox=kFALSE) | |
| virtual | ~TGListTreeItemStd () |
| virtual Pixel_t | GetActiveColor () const |
| virtual Bool_t | IsActive () const |
| virtual void | SetActive (Bool_t a) |
| virtual const char * | GetText () const |
| virtual Int_t | GetTextLength () const |
| virtual const char * | GetTipText () const |
| virtual Int_t | GetTipTextLength () const |
| virtual void | SetText (const char *text) |
| virtual void | SetTipText (const char *tip) |
| virtual void | SetUserData (void *userData, Bool_t own=kFALSE) |
| virtual void * | GetUserData () const |
| virtual const TGPicture * | GetPicture () const |
| virtual const TGPicture * | GetCheckBoxPicture () const |
| virtual void | SetPictures (const TGPicture *opened, const TGPicture *closed) |
| virtual void | SetCheckBoxPictures (const TGPicture *checked, const TGPicture *unchecked) |
| virtual void | SetCheckBox (Bool_t on=kTRUE) |
| virtual Bool_t | HasCheckBox () const |
| virtual void | CheckItem (Bool_t checked=kTRUE) |
| virtual void | Toggle () |
| virtual Bool_t | IsChecked () const |
| virtual void | CheckAllChildren (Bool_t state=kTRUE) |
| virtual void | CheckChildren (TGListTreeItem *item, Bool_t state) |
| virtual Bool_t | HasCheckedChild (Bool_t first=kFALSE) |
| virtual Bool_t | HasUnCheckedChild (Bool_t first=kFALSE) |
| virtual void | UpdateState () |
| virtual Bool_t | HasColor () const |
| virtual Color_t | GetColor () const |
| virtual void | SetColor (Color_t color) |
| virtual void | ClearColor () |
| virtual void | SavePrimitive (ostream &out, Option_t *option, Int_t n) |
Private Member Functions | |
| TGListTreeItemStd (const TGListTreeItemStd &) | |
| TGListTreeItemStd & | operator= (const TGListTreeItemStd &) |
| TGListTreeItemStd (const TGListTreeItemStd &) | |
| TGListTreeItemStd & | operator= (const TGListTreeItemStd &) |
Private Attributes | |
| Bool_t | fActive |
| Bool_t | fCheckBox |
| Bool_t | fChecked |
| Bool_t | fOwnsData |
| TString | fText |
| TString | fTipText |
| const TGPicture * | fOpenPic |
| const TGPicture * | fClosedPic |
| const TGPicture * | fCheckedPic |
| const TGPicture * | fUncheckedPic |
| void * | fUserData |
| Bool_t | fHasColor |
| Color_t | fColor |
| const TGPicture * | fOpenPic |
| const TGPicture * | fClosedPic |
| const TGPicture * | fCheckedPic |
| const TGPicture * | fUncheckedPic |
| void * | fUserData |
Definition at line 147 of file TGListTree.h.
| TGListTreeItemStd::TGListTreeItemStd | ( | const TGListTreeItemStd & | ) | [private] |
| TGListTreeItemStd::TGListTreeItemStd | ( | TGClient * | fClient = gClient, |
|
| const char * | name = 0, |
|||
| const TGPicture * | opened = 0, |
|||
| const TGPicture * | closed = 0, |
|||
| Bool_t | checkbox = kFALSE | |||
| ) |
Definition at line 106 of file TGListTree.cxx.
References fActive, fCheckBox, fChecked, fCheckedPic, fClosedPic, fColor, TGListTreeItem::fDNDState, fHasColor, fOpenPic, fOwnsData, fText, fUncheckedPic, fUserData, TGListTree::GetCheckedPic(), TGListTree::GetClosedPic(), TGListTree::GetOpenPic(), TGListTree::GetUncheckedPic(), kFALSE, and kTRUE.
| TGListTreeItemStd::~TGListTreeItemStd | ( | ) | [virtual] |
Definition at line 145 of file TGListTree.cxx.
References fCheckedPic, TGListTreeItem::fClient, fClosedPic, fOpenPic, fOwnsData, TGClient::FreePicture(), fUncheckedPic, and fUserData.
| TGListTreeItemStd::TGListTreeItemStd | ( | const TGListTreeItemStd & | ) | [private] |
| TGListTreeItemStd::TGListTreeItemStd | ( | TGClient * | fClient = gClient, |
|
| const char * | name = 0, |
|||
| const TGPicture * | opened = 0, |
|||
| const TGPicture * | closed = 0, |
|||
| Bool_t | checkbox = kFALSE | |||
| ) |
| virtual TGListTreeItemStd::~TGListTreeItemStd | ( | ) | [virtual] |
| TGListTreeItemStd& TGListTreeItemStd::operator= | ( | const TGListTreeItemStd & | ) | [private] |
| Pixel_t TGListTreeItemStd::GetActiveColor | ( | ) | const [virtual] |
Implements TGListTreeItem.
Definition at line 160 of file TGListTree.cxx.
References TGFrame::GetDefaultSelectedBackground().
| virtual Bool_t TGListTreeItemStd::IsActive | ( | ) | const [inline, virtual] |
| virtual void TGListTreeItemStd::SetActive | ( | Bool_t | a | ) | [inline, virtual] |
| virtual const char* TGListTreeItemStd::GetText | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 178 of file TGListTree.h.
References TString::Data(), and fText.
Referenced by SavePrimitive().
| virtual Int_t TGListTreeItemStd::GetTextLength | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 179 of file TGListTree.h.
References fText, and TString::Length().
| virtual const char* TGListTreeItemStd::GetTipText | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 180 of file TGListTree.h.
References TString::Data(), and fTipText.
Referenced by SavePrimitive().
| virtual Int_t TGListTreeItemStd::GetTipTextLength | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 181 of file TGListTree.h.
References fTipText, and TString::Length().
| virtual void TGListTreeItemStd::SetText | ( | const char * | text | ) | [inline, virtual] |
| virtual void TGListTreeItemStd::SetTipText | ( | const char * | tip | ) | [inline, virtual] |
Reimplemented from TGListTreeItem.
Definition at line 183 of file TGListTree.h.
References fTipText.
| virtual void TGListTreeItemStd::SetUserData | ( | void * | userData, | |
| Bool_t | own = kFALSE | |||
| ) | [inline, virtual] |
| virtual void* TGListTreeItemStd::GetUserData | ( | ) | const [inline, virtual] |
| virtual const TGPicture* TGListTreeItemStd::GetPicture | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 188 of file TGListTree.h.
References fClosedPic, TGListTreeItem::fOpen, and fOpenPic.
| virtual const TGPicture* TGListTreeItemStd::GetCheckBoxPicture | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 189 of file TGListTree.h.
References fCheckBox, fChecked, fCheckedPic, and fUncheckedPic.
| void TGListTreeItemStd::SetPictures | ( | const TGPicture * | opened, | |
| const TGPicture * | closed | |||
| ) | [virtual] |
Reimplemented from TGListTreeItem.
Definition at line 304 of file TGListTree.cxx.
References TRefCnt::AddReference(), TGListTreeItem::fClient, fClosedPic, fOpenPic, TGClient::FreePicture(), TGClient::GetPicture(), and Warning().
| void TGListTreeItemStd::SetCheckBoxPictures | ( | const TGPicture * | checked, | |
| const TGPicture * | unchecked | |||
| ) | [virtual] |
Reimplemented from TGListTreeItem.
Definition at line 279 of file TGListTree.cxx.
References TRefCnt::AddReference(), fCheckedPic, TGListTreeItem::fClient, TGClient::FreePicture(), fUncheckedPic, TGClient::GetPicture(), and Warning().
Referenced by UpdateState().
Reimplemented from TGListTreeItem.
Definition at line 271 of file TGListTree.cxx.
References fCheckBox.
| virtual Bool_t TGListTreeItemStd::HasCheckBox | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 194 of file TGListTree.h.
References fCheckBox.
Referenced by SavePrimitive().
Implements TGListTreeItem.
Definition at line 195 of file TGListTree.h.
References fChecked.
Referenced by CheckAllChildren().
| virtual void TGListTreeItemStd::Toggle | ( | ) | [inline, virtual] |
Reimplemented from TGListTreeItem.
Definition at line 196 of file TGListTree.h.
References fChecked.
Referenced by CheckAllChildren().
| virtual Bool_t TGListTreeItemStd::IsChecked | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 197 of file TGListTree.h.
References fChecked.
Referenced by CheckAllChildren().
Reimplemented from TGListTreeItem.
Definition at line 230 of file TGListTree.cxx.
References CheckChildren(), CheckItem(), TGListTreeItem::GetFirstChild(), IsChecked(), Toggle(), and UpdateState().
| void TGListTreeItemStd::CheckChildren | ( | TGListTreeItem * | item, | |
| Bool_t | state | |||
| ) | [virtual] |
Reimplemented from TGListTreeItem.
Definition at line 247 of file TGListTree.cxx.
References TGListTreeItem::CheckItem(), TGListTreeItem::GetFirstChild(), TGListTreeItem::GetNextSibling(), TGListTreeItem::IsChecked(), TGListTreeItem::Toggle(), and TGListTreeItem::UpdateState().
Referenced by CheckAllChildren().
Reimplemented from TGListTreeItem.
Definition at line 168 of file TGListTree.cxx.
References TGListTreeItem::GetFirstChild(), TGListTreeItem::GetNextSibling(), TGListTreeItem::HasCheckedChild(), TGListTreeItem::IsChecked(), kFALSE, and kTRUE.
Referenced by UpdateState().
Reimplemented from TGListTreeItem.
Definition at line 191 of file TGListTree.cxx.
References TGListTreeItem::GetFirstChild(), TGListTreeItem::GetNextSibling(), TGListTreeItem::HasUnCheckedChild(), TGListTreeItem::IsChecked(), kFALSE, and kTRUE.
Referenced by UpdateState().
| void TGListTreeItemStd::UpdateState | ( | ) | [virtual] |
Reimplemented from TGListTreeItem.
Definition at line 214 of file TGListTree.cxx.
References fChecked, gClient, TGClient::GetPicture(), HasCheckedChild(), HasUnCheckedChild(), kTRUE, and SetCheckBoxPictures().
Referenced by CheckAllChildren().
| virtual Bool_t TGListTreeItemStd::HasColor | ( | ) | const [inline, virtual] |
| virtual Color_t TGListTreeItemStd::GetColor | ( | ) | const [inline, virtual] |
| virtual void TGListTreeItemStd::SetColor | ( | Color_t | color | ) | [inline, virtual] |
| virtual void TGListTreeItemStd::ClearColor | ( | ) | [inline, virtual] |
Reimplemented from TGListTreeItem.
Definition at line 208 of file TGListTree.h.
References fHasColor.
Reimplemented from TGListTreeItem.
Definition at line 2607 of file TGListTree.cxx.
References TSystem::ExpandPathName(), fCheckedPic, fClosedPic, fColor, fHasColor, fOpenPic, TString::Format(), TGListTreeItem::fParent, fTipText, fUncheckedPic, TGPicture::GetName(), GetText(), GetTipText(), gSystem, HasCheckBox(), kFALSE, kTRUE, TString::Length(), s, text(), and TSystem::UnixPathName().
| TGListTreeItemStd& TGListTreeItemStd::operator= | ( | const TGListTreeItemStd & | ) | [private] |
| virtual Pixel_t TGListTreeItemStd::GetActiveColor | ( | ) | const [virtual] |
Implements TGListTreeItem.
| virtual Bool_t TGListTreeItemStd::IsActive | ( | ) | const [inline, virtual] |
| virtual void TGListTreeItemStd::SetActive | ( | Bool_t | a | ) | [inline, virtual] |
| virtual const char* TGListTreeItemStd::GetText | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 178 of file TGListTree.h.
References TString::Data(), and fText.
| virtual Int_t TGListTreeItemStd::GetTextLength | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 179 of file TGListTree.h.
References fText, and TString::Length().
| virtual const char* TGListTreeItemStd::GetTipText | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 180 of file TGListTree.h.
References TString::Data(), and fTipText.
| virtual Int_t TGListTreeItemStd::GetTipTextLength | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 181 of file TGListTree.h.
References fTipText, and TString::Length().
| virtual void TGListTreeItemStd::SetText | ( | const char * | text | ) | [inline, virtual] |
| virtual void TGListTreeItemStd::SetTipText | ( | const char * | tip | ) | [inline, virtual] |
Reimplemented from TGListTreeItem.
Definition at line 183 of file TGListTree.h.
References fTipText.
| virtual void TGListTreeItemStd::SetUserData | ( | void * | userData, | |
| Bool_t | own = kFALSE | |||
| ) | [inline, virtual] |
| virtual void* TGListTreeItemStd::GetUserData | ( | ) | const [inline, virtual] |
| virtual const TGPicture* TGListTreeItemStd::GetPicture | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 188 of file TGListTree.h.
References fClosedPic, TGListTreeItem::fOpen, and fOpenPic.
| virtual const TGPicture* TGListTreeItemStd::GetCheckBoxPicture | ( | ) | const [inline, virtual] |
Implements TGListTreeItem.
Definition at line 189 of file TGListTree.h.
References fCheckBox, fChecked, fCheckedPic, and fUncheckedPic.
| virtual void TGListTreeItemStd::SetPictures | ( | const TGPicture * | opened, | |
| const TGPicture * | closed | |||
| ) | [virtual] |
Reimplemented from TGListTreeItem.
| virtual void TGListTreeItemStd::SetCheckBoxPictures | ( | const TGPicture * | checked, | |
| const TGPicture * | unchecked | |||
| ) | [virtual] |
Reimplemented from TGListTreeItem.
Reimplemented from TGListTreeItem.
| virtual Bool_t TGListTreeItemStd::HasCheckBox | ( | ) | const [inline, virtual] |
| virtual void TGListTreeItemStd::Toggle | ( | ) | [inline, virtual] |
Reimplemented from TGListTreeItem.
Definition at line 196 of file TGListTree.h.
References fChecked.
| virtual Bool_t TGListTreeItemStd::IsChecked | ( | ) | const [inline, virtual] |
Reimplemented from TGListTreeItem.
| virtual void TGListTreeItemStd::CheckChildren | ( | TGListTreeItem * | item, | |
| Bool_t | state | |||
| ) | [virtual] |
Reimplemented from TGListTreeItem.
Reimplemented from TGListTreeItem.
Reimplemented from TGListTreeItem.
| virtual void TGListTreeItemStd::UpdateState | ( | ) | [virtual] |
Reimplemented from TGListTreeItem.
| virtual Bool_t TGListTreeItemStd::HasColor | ( | ) | const [inline, virtual] |
| virtual Color_t TGListTreeItemStd::GetColor | ( | ) | const [inline, virtual] |
| virtual void TGListTreeItemStd::SetColor | ( | Color_t | color | ) | [inline, virtual] |
| virtual void TGListTreeItemStd::ClearColor | ( | ) | [inline, virtual] |
Reimplemented from TGListTreeItem.
Definition at line 208 of file TGListTree.h.
References fHasColor.
| virtual void TGListTreeItemStd::SavePrimitive | ( | ostream & | out, | |
| Option_t * | option, | |||
| Int_t | n | |||
| ) | [virtual] |
Reimplemented from TGListTreeItem.
Bool_t TGListTreeItemStd::fActive [private] |
Definition at line 150 of file TGListTree.h.
Referenced by IsActive(), SetActive(), and TGListTreeItemStd().
Bool_t TGListTreeItemStd::fCheckBox [private] |
Definition at line 151 of file TGListTree.h.
Referenced by GetCheckBoxPicture(), HasCheckBox(), SetCheckBox(), and TGListTreeItemStd().
Bool_t TGListTreeItemStd::fChecked [private] |
Definition at line 152 of file TGListTree.h.
Referenced by CheckItem(), GetCheckBoxPicture(), IsChecked(), TGListTreeItemStd(), Toggle(), and UpdateState().
Bool_t TGListTreeItemStd::fOwnsData [private] |
Definition at line 153 of file TGListTree.h.
Referenced by SetUserData(), TGListTreeItemStd(), and ~TGListTreeItemStd().
TString TGListTreeItemStd::fText [private] |
Definition at line 154 of file TGListTree.h.
Referenced by GetText(), GetTextLength(), SetText(), and TGListTreeItemStd().
TString TGListTreeItemStd::fTipText [private] |
Definition at line 155 of file TGListTree.h.
Referenced by GetTipText(), GetTipTextLength(), SavePrimitive(), and SetTipText().
const TGPicture* TGListTreeItemStd::fOpenPic [private] |
Definition at line 156 of file TGListTree.h.
Referenced by GetPicture(), SavePrimitive(), SetPictures(), TGListTreeItemStd(), and ~TGListTreeItemStd().
const TGPicture* TGListTreeItemStd::fClosedPic [private] |
Definition at line 157 of file TGListTree.h.
Referenced by GetPicture(), SavePrimitive(), SetPictures(), TGListTreeItemStd(), and ~TGListTreeItemStd().
const TGPicture* TGListTreeItemStd::fCheckedPic [private] |
Definition at line 158 of file TGListTree.h.
Referenced by GetCheckBoxPicture(), SavePrimitive(), SetCheckBoxPictures(), TGListTreeItemStd(), and ~TGListTreeItemStd().
const TGPicture* TGListTreeItemStd::fUncheckedPic [private] |
Definition at line 159 of file TGListTree.h.
Referenced by GetCheckBoxPicture(), SavePrimitive(), SetCheckBoxPictures(), TGListTreeItemStd(), and ~TGListTreeItemStd().
void* TGListTreeItemStd::fUserData [private] |
Definition at line 160 of file TGListTree.h.
Referenced by GetUserData(), SetUserData(), TGListTreeItemStd(), and ~TGListTreeItemStd().
Bool_t TGListTreeItemStd::fHasColor [private] |
Definition at line 162 of file TGListTree.h.
Referenced by ClearColor(), HasColor(), SavePrimitive(), SetColor(), and TGListTreeItemStd().
Color_t TGListTreeItemStd::fColor [private] |
Definition at line 163 of file TGListTree.h.
Referenced by GetColor(), SavePrimitive(), SetColor(), and TGListTreeItemStd().
const TGPicture* TGListTreeItemStd::fOpenPic [private] |
Definition at line 156 of file TGListTree.h.
const TGPicture* TGListTreeItemStd::fClosedPic [private] |
Definition at line 157 of file TGListTree.h.
const TGPicture* TGListTreeItemStd::fCheckedPic [private] |
Definition at line 158 of file TGListTree.h.
const TGPicture* TGListTreeItemStd::fUncheckedPic [private] |
Definition at line 159 of file TGListTree.h.
void* TGListTreeItemStd::fUserData [private] |
Definition at line 160 of file TGListTree.h.
1.5.1