TGSelectBox Class Reference

#include <TTVLVContainer.h>

Inheritance diagram for TGSelectBox:

TGTransientFrame TGTransientFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame List of all members.

Public Member Functions

 TGSelectBox (const TGWindow *p, const TGWindow *main, UInt_t w=10, UInt_t h=10)
virtual ~TGSelectBox ()
virtual void CloseWindow ()
TTVLVEntry * EditedEntry ()
void GrabPointer ()
void SetLabel (const char *title)
void SetEntry (TTVLVEntry *entry)
void SaveText ()
void InsertText (const char *text)
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
Bool_t ValidateAlias ()
 TGSelectBox (const TGWindow *p, const TGWindow *main, UInt_t w=10, UInt_t h=10)
virtual ~TGSelectBox ()
virtual void CloseWindow ()
TTVLVEntry * EditedEntry ()
void GrabPointer ()
void SetLabel (const char *title)
void SetEntry (TTVLVEntry *entry)
void SaveText ()
void InsertText (const char *text)
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
Bool_t ValidateAlias ()

Static Public Member Functions

static TGSelectBox * GetInstance ()
static TGSelectBox * GetInstance ()

Static Protected Attributes

static TGSelectBox * fgInstance
static TGSelectBox * fgInstance

Private Attributes

TTreeViewer * fViewer
TGLabel * fLabel
TTVLVEntry * fEntry
TGTextEntry * fTe
TGLabel * fLabelAlias
TGTextEntry * fTeAlias
TString fOldAlias
TGLayoutHints * fLayout
TGLayoutHints * fBLayout
TGLayoutHints * fBLayout1
TGHorizontalFrame * fBf
TGTextButton * fDONE
TGTextButton * fCANCEL
TTreeViewer * fViewer
TGLabel * fLabel
TTVLVEntry * fEntry
TGTextEntry * fTe
TGLabel * fLabelAlias
TGTextEntry * fTeAlias
TGLayoutHints * fLayout
TGLayoutHints * fBLayout
TGLayoutHints * fBLayout1
TGHorizontalFrame * fBf
TGTextButton * fDONE
TGTextButton * fCANCEL

Detailed Description

Definition at line 158 of file TTVLVContainer.h.


Constructor & Destructor Documentation

TGSelectBox::TGSelectBox ( const TGWindow *  p,
const TGWindow *  main,
UInt_t  w = 10,
UInt_t  h = 10 
)

Definition at line 658 of file TTVLVContainer.cxx.

References TGCompositeFrame::AddFrame(), TGWidget::Associate(), TObject::Error(), fBf, fBLayout, fBLayout1, fCANCEL, fDONE, fEntry, fgInstance, TGFrame::fHeight, fLabel, fLabelAlias, fLayout, TGTransientFrame::fMain, fTe, fTeAlias, fViewer, TGCompositeFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultSize(), TGFrame::GetHeight(), TGObject::GetId(), TGWindow::GetParent(), gVirtualX, kLHintsCenterY, kLHintsExpandX, kLHintsLeft, kLHintsRight, kLHintsTop, main(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::MoveResize(), TGFrame::Resize(), and TGTextEntry::SetToolTipText().

TGSelectBox::~TGSelectBox (  )  [virtual]

Definition at line 714 of file TTVLVContainer.cxx.

References fBf, fBLayout, fBLayout1, fCANCEL, fDONE, fgInstance, fLabel, fLabelAlias, fLayout, fTe, and fTeAlias.

TGSelectBox::TGSelectBox ( const TGWindow *  p,
const TGWindow *  main,
UInt_t  w = 10,
UInt_t  h = 10 
)

virtual TGSelectBox::~TGSelectBox (  )  [virtual]


Member Function Documentation

void TGSelectBox::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 732 of file TTVLVContainer.cxx.

References TGObject::GetId(), and gVirtualX.

Referenced by ProcessMessage().

TTVLVEntry* TGSelectBox::EditedEntry (  )  [inline]

Definition at line 182 of file TTVLVContainer.h.

References fEntry.

Referenced by TTreeViewer::ProcessMessage().

void TGSelectBox::GrabPointer (  ) 

Definition at line 749 of file TTVLVContainer.cxx.

References Event_t::fCode, fTe, Event_t::fType, TGTextEntry::GetCursorPosition(), TGTextEntry::HandleButton(), kButton1, kButtonPress, and TGTextEntry::SetCursorPosition().

Referenced by TTreeViewer::ProcessMessage().

void TGSelectBox::SetLabel ( const char *  title  ) 

Definition at line 762 of file TTVLVContainer.cxx.

References fLabel, and TGLabel::SetText().

Referenced by TTreeViewer::EditExpression().

void TGSelectBox::SetEntry ( TTVLVEntry *  entry  ) 

Definition at line 807 of file TTVLVContainer.cxx.

References entry, fEntry, fOldAlias, fTe, fTeAlias, and TGTextEntry::SetText().

Referenced by TTreeViewer::EditExpression().

void TGSelectBox::SaveText (  ) 

Definition at line 770 of file TTVLVContainer.cxx.

References TString::Contains(), TString::Data(), TTreeViewer::ExpressionList(), fEntry, fOldAlias, fTe, fTeAlias, fViewer, TGTextEntry::GetText(), TTVLVEntry::GetTrueName(), TGTextEntry::InsertText(), list, name, TTVLVEntry::SetExpression(), TTVLVEntry::SetToolTipText(), and TTVLVEntry::SetTrueName().

Referenced by ProcessMessage().

void TGSelectBox::InsertText ( const char *  text  ) 

Definition at line 818 of file TTVLVContainer.cxx.

References fTe, TGTextEntry::GetCursorPosition(), TGTextEntry::InsertText(), TGTextEntry::SetCursorPosition(), and start.

Referenced by TTreeViewer::ProcessMessage().

Bool_t TGSelectBox::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 828 of file TTVLVContainer.cxx.

References CloseWindow(), GET_MSG(), GET_SUBMSG(), kC_COMMAND, kC_TEXTENTRY, kCM_BUTTON, kTE_ENTER, kTRUE, SaveText(), and ValidateAlias().

Bool_t TGSelectBox::ValidateAlias (  ) 

Definition at line 870 of file TTVLVContainer.cxx.

References TTreeViewer::ExpressionList(), fEntry, fTeAlias, fViewer, TTVLVEntry::GetAlias(), TGTextEntry::GetText(), kFALSE, kTRUE, list, and TObject::Warning().

Referenced by ProcessMessage().

TGSelectBox * TGSelectBox::GetInstance (  )  [static]

Definition at line 741 of file TTVLVContainer.cxx.

References fgInstance.

Referenced by TTreeViewer::EditExpression(), G__G__TreeViewer_224_0_11(), G__setup_memfuncTGSelectBox(), TTreeViewer::ProcessMessage(), and TTreeViewer::~TTreeViewer().

virtual void TGSelectBox::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

TTVLVEntry* TGSelectBox::EditedEntry (  )  [inline]

Definition at line 182 of file TTVLVContainer.h.

References fEntry.

void TGSelectBox::GrabPointer (  ) 

void TGSelectBox::SetLabel ( const char *  title  ) 

void TGSelectBox::SetEntry ( TTVLVEntry *  entry  ) 

void TGSelectBox::SaveText (  ) 

void TGSelectBox::InsertText ( const char *  text  ) 

virtual Bool_t TGSelectBox::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

Bool_t TGSelectBox::ValidateAlias (  ) 

static TGSelectBox* TGSelectBox::GetInstance (  )  [static]


Member Data Documentation

TTreeViewer* TGSelectBox::fViewer [private]

Definition at line 161 of file TTVLVContainer.h.

Referenced by SaveText(), TGSelectBox(), and ValidateAlias().

TGLabel* TGSelectBox::fLabel [private]

Definition at line 162 of file TTVLVContainer.h.

Referenced by SetLabel(), TGSelectBox(), and ~TGSelectBox().

TTVLVEntry* TGSelectBox::fEntry [private]

Definition at line 163 of file TTVLVContainer.h.

Referenced by EditedEntry(), SaveText(), SetEntry(), TGSelectBox(), and ValidateAlias().

TGTextEntry* TGSelectBox::fTe [private]

Definition at line 164 of file TTVLVContainer.h.

Referenced by GrabPointer(), InsertText(), SaveText(), SetEntry(), TGSelectBox(), and ~TGSelectBox().

TGLabel* TGSelectBox::fLabelAlias [private]

Definition at line 165 of file TTVLVContainer.h.

Referenced by TGSelectBox(), and ~TGSelectBox().

TGTextEntry* TGSelectBox::fTeAlias [private]

Definition at line 166 of file TTVLVContainer.h.

Referenced by SaveText(), SetEntry(), TGSelectBox(), ValidateAlias(), and ~TGSelectBox().

TString TGSelectBox::fOldAlias [private]

Definition at line 167 of file TTVLVContainer.h.

Referenced by SaveText(), and SetEntry().

TGLayoutHints* TGSelectBox::fLayout [private]

Definition at line 168 of file TTVLVContainer.h.

Referenced by TGSelectBox(), and ~TGSelectBox().

TGLayoutHints* TGSelectBox::fBLayout [private]

Definition at line 169 of file TTVLVContainer.h.

Referenced by TGSelectBox(), and ~TGSelectBox().

TGLayoutHints* TGSelectBox::fBLayout1 [private]

Definition at line 170 of file TTVLVContainer.h.

Referenced by TGSelectBox(), and ~TGSelectBox().

TGHorizontalFrame* TGSelectBox::fBf [private]

Definition at line 171 of file TTVLVContainer.h.

Referenced by TGSelectBox(), and ~TGSelectBox().

TGTextButton* TGSelectBox::fDONE [private]

Definition at line 172 of file TTVLVContainer.h.

Referenced by TGSelectBox(), and ~TGSelectBox().

TGTextButton* TGSelectBox::fCANCEL [private]

Definition at line 173 of file TTVLVContainer.h.

Referenced by TGSelectBox(), and ~TGSelectBox().

TGSelectBox * TGSelectBox::fgInstance [static, protected]

Definition at line 176 of file TTVLVContainer.h.

Referenced by GetInstance(), TGSelectBox(), and ~TGSelectBox().

TTreeViewer* TGSelectBox::fViewer [private]

Definition at line 161 of file TTVLVContainer.h.

TGLabel* TGSelectBox::fLabel [private]

Definition at line 162 of file TTVLVContainer.h.

TTVLVEntry* TGSelectBox::fEntry [private]

Definition at line 163 of file TTVLVContainer.h.

TGTextEntry* TGSelectBox::fTe [private]

Definition at line 164 of file TTVLVContainer.h.

TGLabel* TGSelectBox::fLabelAlias [private]

Definition at line 165 of file TTVLVContainer.h.

TGTextEntry* TGSelectBox::fTeAlias [private]

Definition at line 166 of file TTVLVContainer.h.

TGLayoutHints* TGSelectBox::fLayout [private]

Definition at line 168 of file TTVLVContainer.h.

TGLayoutHints* TGSelectBox::fBLayout [private]

Definition at line 169 of file TTVLVContainer.h.

TGLayoutHints* TGSelectBox::fBLayout1 [private]

Definition at line 170 of file TTVLVContainer.h.

TGHorizontalFrame* TGSelectBox::fBf [private]

Definition at line 171 of file TTVLVContainer.h.

TGTextButton* TGSelectBox::fDONE [private]

Definition at line 172 of file TTVLVContainer.h.

TGTextButton* TGSelectBox::fCANCEL [private]

Definition at line 173 of file TTVLVContainer.h.

TGSelectBox* TGSelectBox::fgInstance [static, protected]

Definition at line 176 of file TTVLVContainer.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:52 2011 for ROOT_528-00b_version by  doxygen 1.5.1