#include <TButton.h>
Inheritance diagram for TButton:

Public Member Functions | |
| TButton () | |
| TButton (const char *title, const char *method, Double_t x1, Double_t y1, Double_t x2, Double_t y2) | |
| virtual | ~TButton () | 
| virtual void | Divide (Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0) | 
| virtual void | Draw (Option_t *option="") | 
| virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) | 
| virtual const char * | GetMethod () const | 
| virtual void | Paint (Option_t *option="") | 
| virtual void | PaintModified () | 
| virtual void | Range (Double_t x1, Double_t y1, Double_t x2, Double_t y2) | 
| virtual void | SavePrimitive (ostream &out, Option_t *option="") | 
| virtual void | SetBorderMode (Short_t bordermode) | 
| virtual void | SetFraming (Bool_t f=1) | 
| virtual Bool_t | GetFraming () | 
| virtual void | SetGrid (Int_t valuex=1, Int_t valuey=1) | 
| virtual void | SetLogx (Int_t value=1) | 
| virtual void | SetLogy (Int_t value=1) | 
| virtual void | SetMethod (const char *method) | 
| virtual void | SetName (const char *name) | 
| virtual void | x3d (Option_t *option="") | 
| TButton () | |
| TButton (const char *title, const char *method, Double_t x1, Double_t y1, Double_t x2, Double_t y2) | |
| virtual | ~TButton () | 
| virtual void | Divide (Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0) | 
| virtual void | Draw (Option_t *option="") | 
| virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) | 
| virtual const char * | GetMethod () const | 
| virtual void | Paint (Option_t *option="") | 
| virtual void | PaintModified () | 
| virtual void | Range (Double_t x1, Double_t y1, Double_t x2, Double_t y2) | 
| virtual void | SavePrimitive (ostream &out, Option_t *option="") | 
| virtual void | SetBorderMode (Short_t bordermode) | 
| virtual void | SetFraming (Bool_t f=1) | 
| virtual Bool_t | GetFraming () | 
| virtual void | SetGrid (Int_t valuex=1, Int_t valuey=1) | 
| virtual void | SetLogx (Int_t value=1) | 
| virtual void | SetLogy (Int_t value=1) | 
| virtual void | SetMethod (const char *method) | 
| virtual void | SetName (const char *name) | 
| virtual void | x3d (Option_t *option="") | 
Protected Attributes | |
| TString | fMethod | 
Private Member Functions | |
| TButton (const TButton &org) | |
| TButton & | operator= (const TButton &rhs) | 
| TButton (const TButton &org) | |
| TButton & | operator= (const TButton &rhs) | 
Private Attributes | |
| Bool_t | fFocused | 
| Bool_t | fFraming | 
Definition at line 32 of file TButton.h.
| TButton::TButton | ( | const TButton & | org | ) |  [private] | 
        
| TButton::TButton | ( | ) | 
| TButton::TButton | ( | const char * | title, | |
| const char * | method, | |||
| Double_t | x1, | |||
| Double_t | y1, | |||
| Double_t | x2, | |||
| Double_t | y2 | |||
| ) | 
Definition at line 105 of file TButton.cxx.
References TList::Add(), fFocused, fFraming, TPad::fLogx, TPad::fLogy, fMethod, TPad::fModified, TPad::fPrimitives, TPad::fX1, TPad::fX2, TPad::fY1, TPad::fY2, TObject::kCanDelete, kFALSE, kTRUE, TObject::SetBit(), TPad::SetEditable(), and text().
| TButton::~TButton | ( | ) |  [virtual] | 
        
| TButton::TButton | ( | const TButton & | org | ) |  [private] | 
        
| TButton::TButton | ( | ) | 
| TButton::TButton | ( | const char * | title, | |
| const char * | method, | |||
| Double_t | x1, | |||
| Double_t | y1, | |||
| Double_t | x2, | |||
| Double_t | y2 | |||
| ) | 
| virtual TButton::~TButton | ( | ) |  [virtual] | 
        
| void TButton::Draw | ( | Option_t * |  option = ""           | 
          ) |  [virtual] | 
        
Reimplemented from TPad.
Definition at line 137 of file TButton.cxx.
References TObject::AppendPad(), and TPad::fCanvas.
Referenced by TDialogCanvas::BuildStandardButtons(), TGroupButton::DisplayColorTable(), TInspectCanvas::InspectObject(), mp3player(), and Tetris::Tetris().
Reimplemented from TPad.
Definition at line 146 of file TButton.cxx.
References TPad::ExecuteEvent(), fFocused, TPad::GetCanvas(), GetMethod(), TROOT::GetSelectedPad(), gROOT, TPad::HideToolTip(), TPad::IsEditable(), kButton1Down, kButton1Motion, kButton1Up, kCross, kMouseEnter, kMouseMotion, TObject::kNotDeleted, kWatch, TPad::Modified(), TROOT::ProcessLine(), SetBorderMode(), TPad::SetCursor(), TObject::TestBit(), TPad::Update(), TPad::XtoAbsPixel(), and TPad::YtoAbsPixel().
| virtual const char* TButton::GetMethod | ( | ) |  const [inline, virtual] | 
        
Definition at line 51 of file TButton.h.
References TString::Data(), and fMethod.
Referenced by TGroupButton::ExecuteAction(), ExecuteEvent(), TGroupButton::SavePrimitive(), and SavePrimitive().
| void TButton::Paint | ( | Option_t * |  option = ""           | 
          ) |  [virtual] | 
        
| void TButton::PaintModified | ( | ) |  [virtual] | 
        
Reimplemented from TPad.
Definition at line 226 of file TButton.cxx.
References xmlio::Class, TPad::fCanvas, TList::First(), TPad::fPrimitives, TPad::GetListOfPrimitives(), TAttText::GetTextAlign(), TAttText::GetTextAngle(), TAttText::GetTextColor(), TAttText::GetTextFont(), TAttText::GetTextSize(), TPad::GetTitle(), TPad::PaintModified(), SetLogx(), SetLogy(), TNamed::SetTitle(), and text().
| void TButton::SavePrimitive | ( | ostream & | out, | |
| Option_t * |  option = "" | |||
| ) |  [virtual] | 
        
Reimplemented from TPad.
Definition at line 258 of file TButton.cxx.
References TPad::cd(), xmlio::Class, TROOT::ClassSaved(), TPad::fHNDC, TPad::fWNDC, TPad::fXlowNDC, TPad::fYlowNDC, TPad::GetBorderMode(), TPad::GetBorderSize(), GetFraming(), TPad::GetListOfPrimitives(), GetMethod(), TPad::GetName(), TIter::GetOption(), TPad::GetTitle(), gPad, gROOT, i, TPad::IsEditable(), TAttFill::SaveFillAttributes(), TAttLine::SaveLineAttributes(), and TAttText::SaveTextAttributes().
| virtual void TButton::SetBorderMode | ( | Short_t | bordermode | ) |  [inline, virtual] | 
        
Reimplemented from TPad.
Definition at line 56 of file TButton.h.
References TPad::fBorderMode.
Referenced by TGroupButton::DisplayColorTable(), ExecuteEvent(), TGroupButton::ExecuteEvent(), NewGameButton::SetPressed(), and PauseButton::SetPressed().
| void TButton::SetFraming | ( | Bool_t |  f = 1           | 
          ) |  [virtual] | 
        
Definition at line 324 of file TButton.cxx.
References fFraming, TPad::kFraming, TObject::ResetBit(), and TObject::SetBit().
Referenced by TGroupButton::TGroupButton().
| virtual Bool_t TButton::GetFraming | ( | ) |  [inline, virtual] | 
        
| void TButton::SetLogx | ( | Int_t |  value = 1           | 
          ) |  [inline, virtual] | 
        
| void TButton::SetLogy | ( | Int_t |  value = 1           | 
          ) |  [inline, virtual] | 
        
| virtual void TButton::SetMethod | ( | const char * | method | ) |  [inline, virtual] | 
        
| virtual void TButton::SetName | ( | const char * | name | ) |  [inline, virtual] | 
        
Reimplemented from TPad.
Definition at line 63 of file TButton.h.
References TPad::fName.
Referenced by TGroupButton::TGroupButton().
| void TButton::x3d | ( | Option_t * |  option = ""           | 
          ) |  [inline, virtual] | 
        
| virtual void TButton::Divide | ( | Int_t |  nx = 1,  | 
        |
| Int_t |  ny = 1,  | 
        |||
| Float_t |  xmargin = 0.01,  | 
        |||
| Float_t |  ymargin = 0.01,  | 
        |||
| Int_t |  color = 0 | |||
| ) |  [virtual] | 
        
Reimplemented from TPad.
Reimplemented from TPad.
| virtual const char* TButton::GetMethod | ( | ) |  const [inline, virtual] | 
        
| virtual void TButton::PaintModified | ( | ) |  [virtual] | 
        
Reimplemented from TPad.
Reimplemented from TPad.
| virtual void TButton::SavePrimitive | ( | ostream & | out, | |
| Option_t * |  option = "" | |||
| ) |  [virtual] | 
        
Reimplemented from TPad.
| virtual void TButton::SetBorderMode | ( | Short_t | bordermode | ) |  [inline, virtual] | 
        
| virtual void TButton::SetFraming | ( | Bool_t |  f = 1           | 
          ) |  [virtual] | 
        
| virtual Bool_t TButton::GetFraming | ( | ) |  [inline, virtual] | 
        
Reimplemented from TPad.
| virtual void TButton::SetMethod | ( | const char * | method | ) |  [inline, virtual] | 
        
| virtual void TButton::SetName | ( | const char * | name | ) |  [inline, virtual] | 
        
Bool_t TButton::fFocused [private]           | 
        
Bool_t TButton::fFraming [private]           | 
        
TString TButton::fMethod [protected]           | 
        
 1.5.1