TGTableFrame Class Reference

#include <TGTableContainer.h>

Inheritance diagram for TGTableFrame:

TQObject TQObject List of all members.

Public Member Functions

 TGTableFrame (const TGWindow *p, UInt_t nrows, UInt_t ncolumns)
virtual ~TGTableFrame ()
TGFrameGetFrame () const
void SetCanvas (TGCanvas *canvas)
void HandleMouseWheel (Event_t *event)
virtual void DrawRegion (Int_t x, Int_t y, UInt_t w, UInt_t h)
 TGTableFrame (const TGWindow *p, UInt_t nrows, UInt_t ncolumns)
virtual ~TGTableFrame ()
TGFrameGetFrame () const
void SetCanvas (TGCanvas *canvas)
void HandleMouseWheel (Event_t *event)
virtual void DrawRegion (Int_t x, Int_t y, UInt_t w, UInt_t h)

Protected Attributes

TGCompositeFramefFrame
TGCanvasfCanvas
TGCompositeFramefFrame
TGCanvasfCanvas

Detailed Description

Definition at line 18 of file TGTableContainer.h.


Constructor & Destructor Documentation

TGTableFrame::TGTableFrame ( const TGWindow p,
UInt_t  nrows,
UInt_t  ncolumns 
)

virtual TGTableFrame::~TGTableFrame (  )  [inline, virtual]

Definition at line 26 of file TGTableContainer.h.

References fFrame.

TGTableFrame::TGTableFrame ( const TGWindow p,
UInt_t  nrows,
UInt_t  ncolumns 
)

virtual TGTableFrame::~TGTableFrame (  )  [inline, virtual]

Definition at line 26 of file TGTableContainer.h.

References fFrame.


Member Function Documentation

TGFrame* TGTableFrame::GetFrame (  )  const [inline]

Definition at line 28 of file TGTableContainer.h.

References fFrame.

Referenced by TGTable::Init().

void TGTableFrame::SetCanvas ( TGCanvas canvas  )  [inline]

Definition at line 30 of file TGTableContainer.h.

References canvas, and fCanvas.

Referenced by TGTable::Init().

void TGTableFrame::HandleMouseWheel ( Event_t event  ) 

Definition at line 54 of file TGTableContainer.cxx.

References fCanvas, Event_t::fCode, Event_t::fType, TGCanvas::GetContainer(), TGFrame::GetHeight(), TGCanvas::GetViewPort(), TGCanvas::GetVsbPosition(), kButton4, kButton5, kButtonPress, kButtonRelease, and TGCanvas::SetVsbPosition().

void TGTableFrame::DrawRegion ( Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
) [virtual]

Definition at line 84 of file TGTableContainer.cxx.

References fCanvas, fFrame, TGFrameElement::fFrame, gClient, TGFrame::GetHeight(), TGCanvas::GetHsbPosition(), TGCompositeFrame::GetList(), TGCanvas::GetVsbPosition(), TGFrame::GetWidth(), TGFrame::GetX(), TGFrame::GetY(), and TGClient::NeedRedraw().

Referenced by TGTable::SetEvenRowBackground(), TGTable::SetOddRowBackground(), and TGTable::UpdateView().

TGFrame* TGTableFrame::GetFrame (  )  const [inline]

Definition at line 28 of file TGTableContainer.h.

References fFrame.

void TGTableFrame::SetCanvas ( TGCanvas canvas  )  [inline]

Definition at line 30 of file TGTableContainer.h.

References canvas, and fCanvas.

void TGTableFrame::HandleMouseWheel ( Event_t event  ) 

virtual void TGTableFrame::DrawRegion ( Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
) [virtual]


Member Data Documentation

TGCompositeFrame* TGTableFrame::fFrame [protected]

Definition at line 21 of file TGTableContainer.h.

Referenced by DrawRegion(), GetFrame(), and ~TGTableFrame().

TGCanvas* TGTableFrame::fCanvas [protected]

Definition at line 22 of file TGTableContainer.h.

Referenced by DrawRegion(), HandleMouseWheel(), and SetCanvas().

TGCompositeFrame* TGTableFrame::fFrame [protected]

Definition at line 21 of file TGTableContainer.h.

TGCanvas* TGTableFrame::fCanvas [protected]

Definition at line 22 of file TGTableContainer.h.


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