XSTblElement Class Reference

#include <XSPeriodicTable.h>

Inheritance diagram for XSTblElement:

TGButton TGFrame TGWidget TGFrame TGWidget TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 XSTblElement (const TGWindow *p, Int_t z, UInt_t color)
 ~XSTblElement ()
virtual void Layout ()
virtual TGDimension GetDefaultSize () const
virtual void SetState (EButtonState state, Bool_t emit=kFALSE)
Int_t GetZ () const
virtual void ChangeBackground (ULong_t color)

Private Attributes

Int_t Z
TGLabellZ
TGToolTiptpZ
TGLabellName
TGToolTiptpName

Friends

class TGClient

Detailed Description

Definition at line 15 of file XSPeriodicTable.h.


Constructor & Destructor Documentation

XSTblElement::XSTblElement ( const TGWindow p,
Int_t  z,
UInt_t  color 
)

Definition at line 19 of file XSPeriodicTable.cxx.

References blueBoldGC, ChangeBackground(), lName, lZ, XSElements::Mnemonic(), NULL, snprintf, str, tpName, tpZ, XSelements, and Z.

XSTblElement::~XSTblElement (  ) 

Definition at line 36 of file XSPeriodicTable.cxx.

References lName, lZ, tpName, and tpZ.


Member Function Documentation

void XSTblElement::Layout (  )  [virtual]

Reimplemented from TGFrame.

Definition at line 46 of file XSPeriodicTable.cxx.

References TGFrame::fBorderWidth, TGObject::fClient, TGFrame::GetHeight(), TGClient::GetRoot(), TGFrame::GetWidth(), h, TGFrame::Layout(), lName, lZ, TGFrame::MapWindow(), TGFrame::MoveResize(), XSElements::Name(), NULL, tpName, tpZ, w, XSelements, and Z.

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

Reimplemented from TGFrame.

Definition at line 30 of file XSPeriodicTable.h.

void XSTblElement::SetState ( EButtonState  state,
Bool_t  emit = kFALSE 
) [virtual]

Reimplemented from TGButton.

Definition at line 69 of file XSPeriodicTable.cxx.

References TGButton::fState, TGFrame::GetX(), TGFrame::GetY(), kButtonDown, kButtonUp, lName, lZ, TGFrame::Move(), and TGButton::SetState().

Int_t XSTblElement::GetZ (  )  const [inline]

Definition at line 35 of file XSPeriodicTable.h.

References Z.

void XSTblElement::ChangeBackground ( ULong_t  color  )  [virtual]

Definition at line 87 of file XSPeriodicTable.cxx.

References TGFrame::ChangeBackground(), lName, and lZ.

Referenced by XSTblElement().


Friends And Related Function Documentation

friend class TGClient [friend]

Reimplemented from TGWindow.

Definition at line 17 of file XSPeriodicTable.h.


Member Data Documentation

Int_t XSTblElement::Z [private]

Definition at line 20 of file XSPeriodicTable.h.

Referenced by GetZ(), Layout(), and XSTblElement().

TGLabel* XSTblElement::lZ [private]

Definition at line 21 of file XSPeriodicTable.h.

Referenced by ChangeBackground(), Layout(), SetState(), XSTblElement(), and ~XSTblElement().

TGToolTip* XSTblElement::tpZ [private]

Definition at line 22 of file XSPeriodicTable.h.

Referenced by Layout(), XSTblElement(), and ~XSTblElement().

TGLabel* XSTblElement::lName [private]

Definition at line 23 of file XSPeriodicTable.h.

Referenced by ChangeBackground(), Layout(), SetState(), XSTblElement(), and ~XSTblElement().

TGToolTip* XSTblElement::tpName [private]

Definition at line 24 of file XSPeriodicTable.h.

Referenced by Layout(), XSTblElement(), and ~XSTblElement().


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