TControlBar Class Reference

#include <TControlBar.h>

Inheritance diagram for TControlBar:

TControlBarButton TControlBarButton TNamed TNamed TNamed TNamed TObject TObject TObject TObject TObject TObject TObject TObject List of all members.

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 ()
TControlBarButtonGetClicked () const
TControlBarImpGetControlBarImp () const
TListGetListOfButtons () 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 ()
TControlBarButtonGetClicked () const
TControlBarImpGetControlBarImp () const
TListGetListOfButtons () 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

TControlBarImpfControlBarImp
Int_t fOrientation
TListfButtons
Int_t fNoroc
TControlBarImpfControlBarImp
TListfButtons

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

Detailed Description

Definition at line 37 of file TControlBar.h.


Member Enumeration Documentation

anonymous enum

Definition at line 53 of file TControlBar.h.

anonymous enum

Definition at line 53 of file TControlBar.h.


Constructor & Destructor Documentation

TControlBar::TControlBar (  ) 

TControlBar::TControlBar ( const char *  orientation,
const char *  title = "" 
)

Definition at line 106 of file TControlBar.cxx.

References Initialize(), and SetOrientation().

TControlBar::TControlBar ( const char *  orientation,
const char *  title,
Int_t  x,
Int_t  y 
)

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 = "" 
)

TControlBar::TControlBar ( const char *  orientation,
const char *  title,
Int_t  x,
Int_t  y 
)

virtual TControlBar::~TControlBar (  )  [virtual]


Member Function Documentation

void TControlBar::Create (  )  [private, virtual]

Reimplemented from TControlBarButton.

Definition at line 202 of file TControlBar.cxx.

References TControlBarImp::Create(), and fControlBarImp.

void TControlBar::Initialize ( Int_t  x,
Int_t  y 
) [private]

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  ) 

Definition at line 147 of file TControlBar.cxx.

References AddButton().

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  ) 

Definition at line 176 of file TControlBar.cxx.

References AddControlBar().

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]

Definition at line 69 of file TControlBar.h.

References fNoroc.

Int_t TControlBar::GetNumberOfRows (  )  const [inline]

Definition at line 70 of file TControlBar.h.

References fNoroc.

Int_t TControlBar::GetOrientation (  )  const [inline]

Definition at line 71 of file TControlBar.h.

References fOrientation.

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]

Definition at line 76 of file TControlBar.h.

References fNoroc.

void TControlBar::SetNumberOfRows ( Int_t  n  )  [inline]

Definition at line 77 of file TControlBar.h.

References fNoroc.

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::Initialize ( Int_t  x,
Int_t  y 
) [private]

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]

Definition at line 67 of file TControlBar.h.

References fControlBarImp.

TList* TControlBar::GetListOfButtons (  )  const [inline]

Definition at line 68 of file TControlBar.h.

References fButtons.

Int_t TControlBar::GetNumberOfColumns (  )  const [inline]

Definition at line 69 of file TControlBar.h.

References fNoroc.

Int_t TControlBar::GetNumberOfRows (  )  const [inline]

Definition at line 70 of file TControlBar.h.

References fNoroc.

Int_t TControlBar::GetOrientation (  )  const [inline]

Definition at line 71 of file TControlBar.h.

References fOrientation.

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]

Definition at line 76 of file TControlBar.h.

References fNoroc.

void TControlBar::SetNumberOfRows ( Int_t  n  )  [inline]

Definition at line 77 of file TControlBar.h.

References fNoroc.

void TControlBar::SetOrientation ( const char *  o  ) 

void TControlBar::SetOrientation ( Int_t  o  ) 

void TControlBar::SetButtonWidth ( UInt_t  width  ) 

void TControlBar::Show (  ) 


Friends And Related Function Documentation

TControlBarImp [friend]

Definition at line 39 of file TControlBar.h.


Member Data Documentation

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]

Definition at line 48 of file TControlBar.h.

Referenced by GetOrientation(), and SetOrientation().

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.


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