XSPeriodicTable Class Reference

#include <XSPeriodicTable.h>

Inheritance diagram for XSPeriodicTable:

TGCompositeFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 XSPeriodicTable (const TGWindow *msgWnd, const TGWindow *p, UInt_t w, UInt_t h)
virtual ~XSPeriodicTable ()
virtual void SelectZ (ULong_t Z)
virtual void Layout ()
virtual TGDimension GetDefaultSize () const

Private Attributes

Int_t width
Int_t height
TGFrameelem [XSPTBL_ROWS][XSPTBL_COLS]

Detailed Description

Definition at line 47 of file XSPeriodicTable.h.


Constructor & Destructor Documentation

XSPeriodicTable::XSPeriodicTable ( const TGWindow msgWnd,
const TGWindow p,
UInt_t  w,
UInt_t  h 
)

Definition at line 185 of file XSPeriodicTable.cxx.

References TGFrame::ChangeBackground(), colorName, colorPixels, COLORS, colsum, colwidth, ecolor, elem, gClient, TGClient::GetColorByName(), height, i, j, NULL, ptable, rowheight, rowsum, val, width, XSPTBL_COLS, and XSPTBL_ROWS.

XSPeriodicTable::~XSPeriodicTable (  )  [virtual]

Definition at line 227 of file XSPeriodicTable.cxx.

References elem, i, j, XSPTBL_COLS, and XSPTBL_ROWS.


Member Function Documentation

void XSPeriodicTable::SelectZ ( ULong_t  Z  )  [virtual]

Definition at line 304 of file XSPeriodicTable.cxx.

References TGFrame::ChangeBackground(), colorPixels, elem, i, j, ptable, XSPTBL_COLS, and XSPTBL_ROWS.

Referenced by XSElementDlg::XSElementDlg().

void XSPeriodicTable::Layout (  )  [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 237 of file XSPeriodicTable.cxx.

References colsum, colwidth, elem, TGFrame::fBorderWidth, TGFrame::GetHeight(), TGFrame::GetWidth(), h, i, j, TGCompositeFrame::Layout(), TGFrame::MapWindow(), TGFrame::MoveResize(), rowheight, rowsum, w, XSPTBL_COLS, and XSPTBL_ROWS.

virtual TGDimension XSPeriodicTable::GetDefaultSize (  )  const [inline, virtual]

Reimplemented from TGCompositeFrame.

Definition at line 60 of file XSPeriodicTable.h.

References height, and width.


Member Data Documentation

Int_t XSPeriodicTable::width [private]

Definition at line 50 of file XSPeriodicTable.h.

Referenced by GetDefaultSize(), and XSPeriodicTable().

Int_t XSPeriodicTable::height [private]

Definition at line 50 of file XSPeriodicTable.h.

Referenced by GetDefaultSize(), and XSPeriodicTable().

TGFrame* XSPeriodicTable::elem[XSPTBL_ROWS][XSPTBL_COLS] [private]

Definition at line 51 of file XSPeriodicTable.h.

Referenced by Layout(), SelectZ(), XSPeriodicTable(), and ~XSPeriodicTable().


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