#include <TGListView.h>
Inheritance diagram for TGLVContainer:
Public Member Functions | |
TGLVContainer (const TGWindow *p, UInt_t w, UInt_t h, UInt_t options=kSunkenFrame, Pixel_t back=GetDefaultFrameBackground()) | |
TGLVContainer (TGCanvas *p, UInt_t options=kSunkenFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGLVContainer () |
TGListView * | GetListView () const |
virtual void | AddItem (TGLVEntry *item) |
virtual void | SetListView (TGListView *lv) |
virtual void | RemoveItemWithData (void *userData) |
virtual void | SetViewMode (EListViewMode viewMode) |
EListViewMode | GetViewMode () const |
virtual void | SetColumns (Int_t *cpos, Int_t *jmode) |
virtual TGDimension | GetPageDimension () const |
virtual TGDimension | GetMaxItemSize () const |
virtual Int_t | GetMaxSubnameWidth (Int_t idx) const |
virtual void | SetColHeaders (const char *n1="", const char *n2="", const char *n3="", const char *n4="", const char *n5="", const char *n6="", const char *n7="", const char *n8="", const char *n9="", const char *n10="", const char *n11="", const char *n12="") |
virtual void | LineUp (Bool_t select=kFALSE) |
virtual void | LineDown (Bool_t select=kFALSE) |
virtual void | LineLeft (Bool_t select=kFALSE) |
virtual void | LineRight (Bool_t select=kFALSE) |
virtual Bool_t | HandleButton (Event_t *event) |
TList * | GetSelectedItems () |
Bool_t | GetMultipleSelection () const |
void | SetMultipleSelection (Bool_t multi=kTRUE) |
void | SetHeaders (Int_t ncolumns) |
void | SetHeader (const char *s, Int_t hmode, Int_t cmode, Int_t idx) |
void | SetDefaultHeaders () |
const char * | GetHeader (Int_t idx) const |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
TGLVContainer (const TGWindow *p, UInt_t w, UInt_t h, UInt_t options=kSunkenFrame, Pixel_t back=GetDefaultFrameBackground()) | |
TGLVContainer (TGCanvas *p, UInt_t options=kSunkenFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGLVContainer () |
TGListView * | GetListView () const |
virtual void | AddItem (TGLVEntry *item) |
virtual void | SetListView (TGListView *lv) |
virtual void | RemoveItemWithData (void *userData) |
virtual void | SetViewMode (EListViewMode viewMode) |
EListViewMode | GetViewMode () const |
virtual void | SetColumns (Int_t *cpos, Int_t *jmode) |
virtual TGDimension | GetPageDimension () const |
virtual TGDimension | GetMaxItemSize () const |
virtual Int_t | GetMaxSubnameWidth (Int_t idx) const |
virtual void | SetColHeaders (const char *n1="", const char *n2="", const char *n3="", const char *n4="", const char *n5="", const char *n6="", const char *n7="", const char *n8="", const char *n9="", const char *n10="", const char *n11="", const char *n12="") |
virtual void | LineUp (Bool_t select=kFALSE) |
virtual void | LineDown (Bool_t select=kFALSE) |
virtual void | LineLeft (Bool_t select=kFALSE) |
virtual void | LineRight (Bool_t select=kFALSE) |
virtual Bool_t | HandleButton (Event_t *event) |
TList * | GetSelectedItems () |
Bool_t | GetMultipleSelection () const |
void | SetMultipleSelection (Bool_t multi=kTRUE) |
void | SetHeaders (Int_t ncolumns) |
void | SetHeader (const char *s, Int_t hmode, Int_t cmode, Int_t idx) |
void | SetDefaultHeaders () |
const char * | GetHeader (Int_t idx) const |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
Protected Member Functions | |
virtual void | ActivateItem (TGFrameElement *el) |
virtual void | DeActivateItem (TGFrameElement *el) |
virtual void | ActivateItem (TGFrameElement *el) |
virtual void | DeActivateItem (TGFrameElement *el) |
Protected Attributes | |
TGLayoutHints * | fItemLayout |
EListViewMode | fViewMode |
Int_t * | fCpos |
Int_t * | fJmode |
Bool_t | fMultiSelect |
TGListView * | fListView |
TGLVEntry * | fLastActive |
TGLayoutHints * | fItemLayout |
Int_t * | fCpos |
Int_t * | fJmode |
TGListView * | fListView |
TGLVEntry * | fLastActive |
Private Member Functions | |
TGLVContainer (const TGLVContainer &) | |
TGLVContainer & | operator= (const TGLVContainer &) |
TGLVContainer (const TGLVContainer &) | |
TGLVContainer & | operator= (const TGLVContainer &) |
Definition at line 200 of file TGListView.h.
TGLVContainer::TGLVContainer | ( | const TGLVContainer & | ) | [private] |
TGLVContainer::TGLVContainer | ( | const TGWindow * | p, | |
UInt_t | w, | |||
UInt_t | h, | |||
UInt_t | options = kSunkenFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TGLVContainer::TGLVContainer | ( | TGCanvas * | p, | |
UInt_t | options = kSunkenFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TGLVContainer::~TGLVContainer | ( | ) | [virtual] |
Definition at line 534 of file TGListView.cxx.
References fItemLayout, TGCompositeFrame::MustCleanup(), and TGContainer::RemoveAll().
TGLVContainer::TGLVContainer | ( | const TGLVContainer & | ) | [private] |
TGLVContainer::TGLVContainer | ( | const TGWindow * | p, | |
UInt_t | w, | |||
UInt_t | h, | |||
UInt_t | options = kSunkenFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TGLVContainer::TGLVContainer | ( | TGCanvas * | p, | |
UInt_t | options = kSunkenFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGLVContainer::~TGLVContainer | ( | ) | [virtual] |
TGLVContainer& TGLVContainer::operator= | ( | const TGLVContainer & | ) | [private] |
void TGLVContainer::ActivateItem | ( | TGFrameElement * | el | ) | [protected, virtual] |
Reimplemented from TGContainer.
Definition at line 731 of file TGListView.cxx.
References TGContainer::ActivateItem(), TGFrameElement::fFrame, and fLastActive.
Referenced by TRootIconList::Browse(), HandleButton(), LineDown(), LineLeft(), LineRight(), and LineUp().
void TGLVContainer::DeActivateItem | ( | TGFrameElement * | el | ) | [protected, virtual] |
Reimplemented from TGContainer.
Definition at line 740 of file TGListView.cxx.
References TGContainer::DeActivateItem(), TGFrameElement::fFrame, and fLastActive.
Referenced by HandleButton(), LineDown(), LineLeft(), LineRight(), and LineUp().
TGListView* TGLVContainer::GetListView | ( | ) | const [inline] |
virtual void TGLVContainer::AddItem | ( | TGLVEntry * | item | ) | [inline, virtual] |
Definition at line 229 of file TGListView.h.
References TGCompositeFrame::AddFrame(), fCpos, fItemLayout, fJmode, TGContainer::fTotal, and TGLVEntry::SetColumns().
Referenced by TGFileContainer::AddFile(), TUploadDataSetDlg::AddFiles(), TSessionOutputFrame::AddObject(), TSessionInputFrame::AddObject(), TRootIconBox::AddObjItem(), TGFileContainer::AddRemoteFile(), TRootIconList::Browse(), TestFileList::DisplayFile(), TGRootIDE::DisplayFile(), and TNewChainDlg::UpdateList().
virtual void TGLVContainer::SetListView | ( | TGListView * | lv | ) | [inline, virtual] |
void TGLVContainer::RemoveItemWithData | ( | void * | userData | ) | [virtual] |
Definition at line 715 of file TGListView.cxx.
References TGFrameElement::fFrame, TGCompositeFrame::fList, if(), and TGContainer::RemoveItem().
void TGLVContainer::SetViewMode | ( | EListViewMode | viewMode | ) | [virtual] |
Definition at line 588 of file TGListView.cxx.
References canvas, TGFrameElement::fFrame, TGFrame::fHeight, fItemLayout, TGFrameElement::fLayout, TGCompositeFrame::fList, fListView, fViewMode, TGFrame::fWidth, TGPosition::fX, TGPosition::fY, TGContainer::GetPagePosition(), height, kLHintsCenterX, kLHintsCenterY, kLHintsExpandY, kLHintsLeft, kLVDetails, kLVLargeIcons, kLVList, kLVSmallIcons, TGContainer::SetHsbPosition(), TGCompositeFrame::SetLayoutManager(), TGListView::SetViewMode(), TGContainer::SetVsbPosition(), and width.
Referenced by TestFileList::DoMenu(), TGListView::SetViewMode(), TGRootIDE::TGRootIDE(), TNewChainDlg::TNewChainDlg(), and TUploadDataSetDlg::TUploadDataSetDlg().
EListViewMode TGLVContainer::GetViewMode | ( | ) | const [inline] |
Definition at line 235 of file TGListView.h.
References fViewMode.
Referenced by TRootIconList::Browse().
Definition at line 654 of file TGListView.cxx.
References fCpos, TGFrameElement::fFrame, fJmode, TGCompositeFrame::fList, and TGContainer::Layout().
Referenced by TGListView::Layout().
TGDimension TGLVContainer::GetPageDimension | ( | ) | const [virtual] |
Reimplemented from TGContainer.
Definition at line 1099 of file TGListView.cxx.
References TGDimension::fHeight, TGContainer::fViewPort, TGDimension::fWidth, TGFrame::GetHeight(), and TGFrame::GetWidth().
Referenced by HandleButton(), LineLeft(), and LineRight().
TGDimension TGLVContainer::GetMaxItemSize | ( | ) | const [virtual] |
Definition at line 670 of file TGListView.cxx.
References TGFrameElement::fFrame, TGDimension::fHeight, TGCompositeFrame::fList, fViewMode, TGDimension::fWidth, TGFrame::GetDefaultSize(), kLVLargeIcons, TMath::Max(), and maxsize.
Referenced by GetMaxSubnameWidth(), TGListView::Layout(), and TGListView::LayoutHeader().
Definition at line 694 of file TGListView.cxx.
References entry, TGFrameElement::fFrame, TGCompositeFrame::fList, TGDimension::fWidth, GetMaxItemSize(), TMath::Max(), and width.
Referenced by TGListView::Layout(), TGListView::LayoutHeader(), and TGListView::SetDefaultColumnWidth().
void TGLVContainer::SetColHeaders | ( | const char * | n1 = "" , |
|
const char * | n2 = "" , |
|||
const char * | n3 = "" , |
|||
const char * | n4 = "" , |
|||
const char * | n5 = "" , |
|||
const char * | n6 = "" , |
|||
const char * | n7 = "" , |
|||
const char * | n8 = "" , |
|||
const char * | n9 = "" , |
|||
const char * | n10 = "" , |
|||
const char * | n11 = "" , |
|||
const char * | n12 = "" | |||
) | [virtual] |
Definition at line 545 of file TGListView.cxx.
References fListView, kTextCenterX, kTextLeft, TGListView::Layout(), TGListView::SetHeader(), and TGListView::SetHeaders().
Referenced by TestFileList::DisplayFile(), and TGRootIDE::DisplayFile().
Reimplemented from TGContainer.
Definition at line 1039 of file TGListView.cxx.
References ActivateItem(), TGContainer::AdjustPosition(), DeActivateItem(), TGFrameElement::fFrame, TGDimension::fHeight, TGContainer::FindFrame(), TList::First(), TGContainer::fLastActiveEl, TGCompositeFrame::fList, fListView, TGContainer::fSelected, TGListView::GetMaxItemSize(), TGFrame::GetX(), TGFrame::GetY(), x, and y.
Referenced by LineLeft().
Reimplemented from TGContainer.
Definition at line 1070 of file TGListView.cxx.
References ActivateItem(), TGContainer::AdjustPosition(), DeActivateItem(), TGFrameElement::fFrame, TGDimension::fHeight, TGContainer::FindFrame(), TList::First(), TGContainer::fLastActiveEl, TGCompositeFrame::fList, fListView, TGContainer::fSelected, TGListView::GetMaxItemSize(), TGFrame::GetX(), TGFrame::GetY(), TList::Last(), x, and y.
Referenced by LineRight().
Reimplemented from TGContainer.
Definition at line 916 of file TGListView.cxx.
References ActivateItem(), TGContainer::AdjustPosition(), DeActivateItem(), TGFrameElement::fFrame, TGDimension::fHeight, TGContainer::FindFrame(), TList::First(), TGContainer::fLastActiveEl, TGCompositeFrame::fList, fListView, TGContainer::fSelected, fViewMode, TGContainer::fViewPort, TGDimension::fWidth, TGPosition::fX, TGContainer::GetHScrollbar(), TGListView::GetMaxItemSize(), GetPageDimension(), TGContainer::GetPagePosition(), TGScrollBar::GetPageSize(), TGFrame::GetWidth(), TGFrame::GetX(), TGFrame::GetY(), TGWindow::IsMapped(), kLVDetails, kLVList, kLVSmallIcons, LineUp(), x, and y.
Reimplemented from TGContainer.
Definition at line 982 of file TGListView.cxx.
References ActivateItem(), TGContainer::AdjustPosition(), DeActivateItem(), TGFrameElement::fFrame, TGDimension::fHeight, TGContainer::FindFrame(), TList::First(), TGContainer::fLastActiveEl, TGCompositeFrame::fList, fListView, TGContainer::fSelected, fViewMode, TGDimension::fWidth, TGPosition::fX, TGContainer::GetHScrollbar(), TGListView::GetMaxItemSize(), GetPageDimension(), TGContainer::GetPagePosition(), TGFrame::GetX(), TGFrame::GetY(), TGWindow::IsMapped(), kLVDetails, kLVList, kLVSmallIcons, TList::Last(), LineDown(), x, and y.
Reimplemented from TGContainer.
Definition at line 749 of file TGListView.cxx.
References ActivateItem(), TGContainer::Clicked(), DeActivateItem(), TGContainer::fCanvas, TGObject::fClient, Event_t::fCode, TGContainer::fDragging, TGFrameElement::fFrame, TGDimension::fHeight, TGObject::fId, fLastActive, TGCompositeFrame::fList, TGCompositeFrame::fMapSubwindows, TGContainer::fMsgWindow, fMultiSelect, TGContainer::fScrolling, TGContainer::fScrollTimer, TGContainer::fSelected, Event_t::fState, TGContainer::fTotal, Event_t::fType, Event_t::fUser, Event_t::fX, TGPosition::fX, TGContainer::fX0, TGContainer::fXf, TGContainer::fXp, Event_t::fXRoot, Event_t::fY, TGPosition::fY, TGContainer::fY0, TGContainer::fYf, TGContainer::fYp, Event_t::fYRoot, TGFrame::GetHeight(), TGObject::GetId(), TGContainer::GetLineGC(), GetPageDimension(), TGContainer::GetPagePosition(), TGCanvas::GetVsbPosition(), TGFrame::GetWidth(), TGFrame::GetX(), TGFrame::GetY(), gSystem, gVirtualX, TGContainer::HandleButton(), TGFrame::IsActive(), kButton4, kButton5, kButtonPress, kButtonRelease, kC_CONTAINER, kCT_ITEMCLICK, kCT_SELCHANGED, kFALSE, kKeyControlMask, kKeyShiftMask, kTRUE, MK_MSG(), TGClient::NeedRedraw(), TSystem::RemoveTimer(), TGFrame::SendMessage(), TGCanvas::SetVsbPosition(), total, and TGContainer::UnSelectAll().
TList * TGLVContainer::GetSelectedItems | ( | ) |
Definition at line 899 of file TGListView.cxx.
References TList::Add(), TGFrameElement::fFrame, TGCompositeFrame::fList, and TGFrame::IsActive().
Referenced by TGFileDialog::ProcessMessage().
Bool_t TGLVContainer::GetMultipleSelection | ( | ) | const [inline] |
Definition at line 253 of file TGListView.h.
References fMultiSelect.
Referenced by TGFileDialog::TGFileDialog().
void TGLVContainer::SetHeaders | ( | Int_t | ncolumns | ) | [inline] |
Definition at line 254 of file TGListView.h.
References fListView, and TGListView::SetHeaders().
Referenced by TUploadDataSetDlg::TUploadDataSetDlg().
Definition at line 255 of file TGListView.h.
References fListView, and TGListView::SetHeader().
Referenced by TUploadDataSetDlg::TUploadDataSetDlg().
void TGLVContainer::SetDefaultHeaders | ( | ) | [inline] |
Definition at line 257 of file TGListView.h.
References fListView, and TGListView::SetDefaultHeaders().
Referenced by TestFileList::DisplayDirectory(), TNewChainDlg::DisplayDirectory(), TGRootIDE::DisplayDirectory(), TestFileList::TestFileList(), and TNewChainDlg::TNewChainDlg().
const char* TGLVContainer::GetHeader | ( | Int_t | idx | ) | const [inline] |
void TGLVContainer::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGContainer.
Definition at line 1718 of file TGListView.cxx.
References xmlio::Class, TGFrame::fBackground, TGWindow::fParent, TGContainer::GetCanvas(), TGFrame::GetDefaultFrameBackground(), TGFrame::GetHeight(), TGWindow::GetName(), TGFrame::GetOptions(), TGFrame::GetOptionString(), TGWindow::GetParent(), TGFrame::GetWidth(), TObject::InheritsFrom(), kDoubleBorder, kSunkenFrame, and TGFrame::SaveUserColor().
TGLVContainer& TGLVContainer::operator= | ( | const TGLVContainer & | ) | [private] |
virtual void TGLVContainer::ActivateItem | ( | TGFrameElement * | el | ) | [protected, virtual] |
Reimplemented from TGContainer.
virtual void TGLVContainer::DeActivateItem | ( | TGFrameElement * | el | ) | [protected, virtual] |
Reimplemented from TGContainer.
TGListView* TGLVContainer::GetListView | ( | ) | const [inline] |
virtual void TGLVContainer::AddItem | ( | TGLVEntry * | item | ) | [inline, virtual] |
Definition at line 229 of file TGListView.h.
References TGCompositeFrame::AddFrame(), fCpos, fItemLayout, fJmode, TGContainer::fTotal, and TGLVEntry::SetColumns().
virtual void TGLVContainer::SetListView | ( | TGListView * | lv | ) | [inline, virtual] |
virtual void TGLVContainer::RemoveItemWithData | ( | void * | userData | ) | [virtual] |
virtual void TGLVContainer::SetViewMode | ( | EListViewMode | viewMode | ) | [virtual] |
EListViewMode TGLVContainer::GetViewMode | ( | ) | const [inline] |
virtual TGDimension TGLVContainer::GetPageDimension | ( | ) | const [virtual] |
Reimplemented from TGContainer.
virtual TGDimension TGLVContainer::GetMaxItemSize | ( | ) | const [virtual] |
virtual void TGLVContainer::SetColHeaders | ( | const char * | n1 = "" , |
|
const char * | n2 = "" , |
|||
const char * | n3 = "" , |
|||
const char * | n4 = "" , |
|||
const char * | n5 = "" , |
|||
const char * | n6 = "" , |
|||
const char * | n7 = "" , |
|||
const char * | n8 = "" , |
|||
const char * | n9 = "" , |
|||
const char * | n10 = "" , |
|||
const char * | n11 = "" , |
|||
const char * | n12 = "" | |||
) | [virtual] |
Reimplemented from TGContainer.
Reimplemented from TGContainer.
Reimplemented from TGContainer.
Reimplemented from TGContainer.
Reimplemented from TGContainer.
TList* TGLVContainer::GetSelectedItems | ( | ) |
Bool_t TGLVContainer::GetMultipleSelection | ( | ) | const [inline] |
void TGLVContainer::SetHeaders | ( | Int_t | ncolumns | ) | [inline] |
void TGLVContainer::SetDefaultHeaders | ( | ) | [inline] |
Definition at line 257 of file TGListView.h.
References fListView, and TGListView::SetDefaultHeaders().
const char* TGLVContainer::GetHeader | ( | Int_t | idx | ) | const [inline] |
virtual void TGLVContainer::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGContainer.
TGLayoutHints* TGLVContainer::fItemLayout [protected] |
Definition at line 207 of file TGListView.h.
Referenced by AddItem(), TTVLVContainer::AddThisItem(), SetViewMode(), and ~TGLVContainer().
EListViewMode TGLVContainer::fViewMode [protected] |
Definition at line 208 of file TGListView.h.
Referenced by TGFileContainer::AddFile(), TGFileContainer::AddRemoteFile(), GetMaxItemSize(), GetViewMode(), LineLeft(), LineRight(), and SetViewMode().
Int_t* TGLVContainer::fCpos [protected] |
Definition at line 209 of file TGListView.h.
Referenced by AddItem(), TTVLVContainer::AddThisItem(), and SetColumns().
Int_t* TGLVContainer::fJmode [protected] |
Definition at line 210 of file TGListView.h.
Referenced by AddItem(), TTVLVContainer::AddThisItem(), and SetColumns().
Bool_t TGLVContainer::fMultiSelect [protected] |
Definition at line 211 of file TGListView.h.
Referenced by GetMultipleSelection(), HandleButton(), and SetMultipleSelection().
TGListView* TGLVContainer::fListView [protected] |
Definition at line 212 of file TGListView.h.
Referenced by TRootIconBox::AddObjItem(), GetHeader(), GetListView(), LineDown(), LineLeft(), LineRight(), LineUp(), TRootIconBox::Refresh(), SetColHeaders(), SetDefaultHeaders(), SetHeader(), SetHeaders(), SetListView(), TRootIconBox::SetObjHeaders(), SetViewMode(), and TRootIconBox::TRootIconBox().
TGLVEntry* TGLVContainer::fLastActive [protected] |
Definition at line 213 of file TGListView.h.
Referenced by ActivateItem(), DeActivateItem(), HandleButton(), TTVLVContainer::HandleButton(), TTVLVContainer::HandleMotion(), TTVLVContainer::RemoveNonStatic(), and TTVLVContainer::SelectItem().
TGLayoutHints* TGLVContainer::fItemLayout [protected] |
Definition at line 207 of file TGListView.h.
Int_t* TGLVContainer::fCpos [protected] |
Definition at line 209 of file TGListView.h.
Int_t* TGLVContainer::fJmode [protected] |
Definition at line 210 of file TGListView.h.
TGListView* TGLVContainer::fListView [protected] |
Definition at line 212 of file TGListView.h.
TGLVEntry* TGLVContainer::fLastActive [protected] |
Definition at line 213 of file TGListView.h.