#include <XSPeriodicTable.h>
Inheritance diagram for XSTblElement:
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 |
TGLabel * | lZ |
TGToolTip * | tpZ |
TGLabel * | lName |
TGToolTip * | tpName |
Friends | |
class | TGClient |
Definition at line 15 of file XSPeriodicTable.h.
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 | ( | ) |
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] |
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] |
void XSTblElement::ChangeBackground | ( | ULong_t | color | ) | [virtual] |
Definition at line 87 of file XSPeriodicTable.cxx.
References TGFrame::ChangeBackground(), lName, and lZ.
Referenced by XSTblElement().
friend class TGClient [friend] |
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().