#include <TControlBar.h>
Inheritance diagram for TControlBar:
Public Types | |
enum | |
enum | |
Public Member Functions | |
TControlBar () | |
TControlBar (const char *orientation, const char *title="") | |
TControlBar (const char *orientation, const char *title, Int_t x, Int_t y) | |
virtual | ~TControlBar () |
void | AddButton (TControlBarButton *button) |
void | AddButton (TControlBarButton &button) |
void | AddButton (const char *label, const char *action, const char *hint="", const char *type="button") |
void | AddControlBar (TControlBar *controlBar) |
void | AddControlBar (TControlBar &controlBar) |
void | AddSeparator () |
TControlBarButton * | GetClicked () const |
TControlBarImp * | GetControlBarImp () const |
TList * | GetListOfButtons () const |
Int_t | GetNumberOfColumns () const |
Int_t | GetNumberOfRows () const |
Int_t | GetOrientation () const |
void | Hide () |
void | SetButtonState (const char *label, Int_t state=0) |
void | SetFont (const char *fontName) |
void | SetTextColor (const char *colorName) |
void | SetNumberOfColumns (Int_t n) |
void | SetNumberOfRows (Int_t n) |
void | SetOrientation (const char *o) |
void | SetOrientation (Int_t o) |
void | SetButtonWidth (UInt_t width) |
void | Show () |
TControlBar () | |
TControlBar (const char *orientation, const char *title="") | |
TControlBar (const char *orientation, const char *title, Int_t x, Int_t y) | |
virtual | ~TControlBar () |
void | AddButton (TControlBarButton *button) |
void | AddButton (TControlBarButton &button) |
void | AddButton (const char *label, const char *action, const char *hint="", const char *type="button") |
void | AddControlBar (TControlBar *controlBar) |
void | AddControlBar (TControlBar &controlBar) |
void | AddSeparator () |
TControlBarButton * | GetClicked () const |
TControlBarImp * | GetControlBarImp () const |
TList * | GetListOfButtons () const |
Int_t | GetNumberOfColumns () const |
Int_t | GetNumberOfRows () const |
Int_t | GetOrientation () const |
void | Hide () |
void | SetButtonState (const char *label, Int_t state=0) |
void | SetFont (const char *fontName) |
void | SetTextColor (const char *colorName) |
void | SetNumberOfColumns (Int_t n) |
void | SetNumberOfRows (Int_t n) |
void | SetOrientation (const char *o) |
void | SetOrientation (Int_t o) |
void | SetButtonWidth (UInt_t width) |
void | Show () |
Protected Attributes | |
TControlBarImp * | fControlBarImp |
Int_t | fOrientation |
TList * | fButtons |
Int_t | fNoroc |
TControlBarImp * | fControlBarImp |
TList * | fButtons |
Private Member Functions | |
virtual void | Create () |
void | Initialize (Int_t x, Int_t y) |
virtual void | Create () |
void | Initialize (Int_t x, Int_t y) |
Friends | |
class | TControlBarImp |
Definition at line 37 of file TControlBar.h.
anonymous enum |
Definition at line 53 of file TControlBar.h.
anonymous enum |
Definition at line 53 of file TControlBar.h.
TControlBar::TControlBar | ( | ) |
TControlBar::TControlBar | ( | const char * | orientation, | |
const char * | title = "" | |||
) |
Definition at line 118 of file TControlBar.cxx.
References TStyle::GetScreenFactor(), gStyle, Initialize(), and SetOrientation().
TControlBar::~TControlBar | ( | ) | [virtual] |
Definition at line 132 of file TControlBar.cxx.
References TList::Delete(), fButtons, and fControlBarImp.
TControlBar::TControlBar | ( | ) |
TControlBar::TControlBar | ( | const char * | orientation, | |
const char * | title = "" | |||
) |
virtual TControlBar::~TControlBar | ( | ) | [virtual] |
void TControlBar::Create | ( | ) | [private, virtual] |
Reimplemented from TControlBarButton.
Definition at line 202 of file TControlBar.cxx.
References TControlBarImp::Create(), and fControlBarImp.
Definition at line 224 of file TControlBar.cxx.
References TGuiFactory::CreateControlBarImp(), fButtons, fControlBarImp, fNoroc, TNamed::GetName(), and gGuiFactory.
Referenced by TControlBar().
void TControlBar::AddButton | ( | TControlBarButton * | button | ) |
Definition at line 156 of file TControlBar.cxx.
References TList::Add(), and fButtons.
Referenced by ActionButton(), AddButton(), BDT(), BDT_Reg(), CorrGui(), CorrGuiMultiClass(), gldemos(), PlotFoams(), testControlBars(), TMVAGui(), TMVAMultiClassGui(), and TMVARegGui().
void TControlBar::AddButton | ( | TControlBarButton & | button | ) |
void TControlBar::AddButton | ( | const char * | label, | |
const char * | action, | |||
const char * | hint = "" , |
|||
const char * | type = "button" | |||
) |
Definition at line 166 of file TControlBar.cxx.
References AddButton(), and TControlBarButton::TControlBarButton().
void TControlBar::AddControlBar | ( | TControlBar * | controlBar | ) |
Definition at line 185 of file TControlBar.cxx.
References TList::Add(), and fButtons.
Referenced by AddControlBar().
void TControlBar::AddControlBar | ( | TControlBar & | controlBar | ) |
void TControlBar::AddSeparator | ( | ) |
Definition at line 195 of file TControlBar.cxx.
Referenced by TMVAGui(), TMVAMultiClassGui(), and TMVARegGui().
TControlBarButton * TControlBar::GetClicked | ( | ) | const |
Definition at line 336 of file TControlBar.cxx.
References fControlBarImp, TControlBarImp::GetClicked(), and Printf().
TControlBarImp* TControlBar::GetControlBarImp | ( | ) | const [inline] |
Definition at line 67 of file TControlBar.h.
References fControlBarImp.
Referenced by testControlBars().
TList* TControlBar::GetListOfButtons | ( | ) | const [inline] |
Definition at line 68 of file TControlBar.h.
References fButtons.
Referenced by TRootControlBar::Create().
Int_t TControlBar::GetNumberOfColumns | ( | ) | const [inline] |
Int_t TControlBar::GetNumberOfRows | ( | ) | const [inline] |
Int_t TControlBar::GetOrientation | ( | ) | const [inline] |
void TControlBar::Hide | ( | ) |
Definition at line 213 of file TControlBar.cxx.
References fControlBarImp, and TControlBarImp::Hide().
void TControlBar::SetButtonState | ( | const char * | label, | |
Int_t | state = 0 | |||
) |
Definition at line 262 of file TControlBar.cxx.
References TObject::Error(), fControlBarImp, and TControlBarImp::SetButtonState().
Referenced by TMVAGui(), TMVAMultiClassGui(), and TMVARegGui().
void TControlBar::SetFont | ( | const char * | fontName | ) |
Definition at line 240 of file TControlBar.cxx.
References fControlBarImp, and TControlBarImp::SetFont().
void TControlBar::SetTextColor | ( | const char * | colorName | ) |
Definition at line 251 of file TControlBar.cxx.
References fControlBarImp, and TControlBarImp::SetTextColor().
Referenced by BDT(), BDT_Reg(), CorrGui(), CorrGuiMultiClass(), TMVAGui(), TMVAMultiClassGui(), and TMVARegGui().
void TControlBar::SetNumberOfColumns | ( | Int_t | n | ) | [inline] |
void TControlBar::SetNumberOfRows | ( | Int_t | n | ) | [inline] |
void TControlBar::SetOrientation | ( | const char * | o | ) |
Definition at line 291 of file TControlBar.cxx.
References TObject::Error(), fOrientation, kHorizontal, kVertical, and strcasecmp.
Referenced by TControlBar().
void TControlBar::SetOrientation | ( | Int_t | o | ) |
Definition at line 310 of file TControlBar.cxx.
References TObject::Error(), fOrientation, kHorizontal, and kVertical.
void TControlBar::SetButtonWidth | ( | UInt_t | width | ) |
Definition at line 282 of file TControlBar.cxx.
References fControlBarImp, and TControlBarImp::SetButtonWidth().
Referenced by testControlBars().
void TControlBar::Show | ( | ) |
Definition at line 326 of file TControlBar.cxx.
References fControlBarImp, and TControlBarImp::Show().
Referenced by BDT(), BDT_Reg(), CorrGui(), CorrGuiMultiClass(), gldemos(), PlotFoams(), testControlBars(), TMVAGui(), TMVAMultiClassGui(), and TMVARegGui().
virtual void TControlBar::Create | ( | ) | [private, virtual] |
Reimplemented from TControlBarButton.
void TControlBar::AddButton | ( | TControlBarButton * | button | ) |
void TControlBar::AddButton | ( | TControlBarButton & | button | ) |
void TControlBar::AddButton | ( | const char * | label, | |
const char * | action, | |||
const char * | hint = "" , |
|||
const char * | type = "button" | |||
) |
void TControlBar::AddControlBar | ( | TControlBar * | controlBar | ) |
void TControlBar::AddControlBar | ( | TControlBar & | controlBar | ) |
void TControlBar::AddSeparator | ( | ) |
TControlBarButton* TControlBar::GetClicked | ( | ) | const |
TControlBarImp* TControlBar::GetControlBarImp | ( | ) | const [inline] |
TList* TControlBar::GetListOfButtons | ( | ) | const [inline] |
Int_t TControlBar::GetNumberOfColumns | ( | ) | const [inline] |
Int_t TControlBar::GetNumberOfRows | ( | ) | const [inline] |
Int_t TControlBar::GetOrientation | ( | ) | const [inline] |
void TControlBar::Hide | ( | ) |
void TControlBar::SetButtonState | ( | const char * | label, | |
Int_t | state = 0 | |||
) |
void TControlBar::SetFont | ( | const char * | fontName | ) |
void TControlBar::SetTextColor | ( | const char * | colorName | ) |
void TControlBar::SetNumberOfColumns | ( | Int_t | n | ) | [inline] |
void TControlBar::SetNumberOfRows | ( | Int_t | n | ) | [inline] |
void TControlBar::SetOrientation | ( | const char * | o | ) |
void TControlBar::SetOrientation | ( | Int_t | o | ) |
void TControlBar::SetButtonWidth | ( | UInt_t | width | ) |
void TControlBar::Show | ( | ) |
TControlBarImp [friend] |
Definition at line 39 of file TControlBar.h.
TControlBarImp* TControlBar::fControlBarImp [protected] |
Definition at line 47 of file TControlBar.h.
Referenced by Create(), GetClicked(), GetControlBarImp(), Hide(), Initialize(), SetButtonState(), SetButtonWidth(), SetFont(), SetTextColor(), Show(), and ~TControlBar().
Int_t TControlBar::fOrientation [protected] |
TList* TControlBar::fButtons [protected] |
Definition at line 49 of file TControlBar.h.
Referenced by AddButton(), AddControlBar(), GetListOfButtons(), Initialize(), and ~TControlBar().
Int_t TControlBar::fNoroc [protected] |
Definition at line 50 of file TControlBar.h.
Referenced by GetNumberOfColumns(), GetNumberOfRows(), Initialize(), SetNumberOfColumns(), and SetNumberOfRows().
TControlBarImp* TControlBar::fControlBarImp [protected] |
Definition at line 47 of file TControlBar.h.
TList* TControlBar::fButtons [protected] |
Definition at line 49 of file TControlBar.h.