TWbox Class Reference

#include <TWbox.h>

Inheritance diagram for TWbox:

TBox TBox TAttFill TAttLine TObject TAttFill TAttLine TObject TAttFill TAttLine TObject TAttFill TAttLine TObject TetrisBox TFrame TFrame TSliderBox TSliderBox List of all members.

Public Member Functions

 TWbox ()
 TWbox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color=18, Short_t bordersize=5, Short_t bordermode=1)
 TWbox (const TWbox &wbox)
virtual ~TWbox ()
void Copy (TObject &wbox) const
virtual void Draw (Option_t *option="")
virtual void DrawWbox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color=33, Short_t bordersize=5, Short_t bordermode=-1)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
Short_t GetBorderMode () const
Short_t GetBorderSize () const
Int_t GetDarkColor () const
Int_t GetLightColor () const
virtual void Paint (Option_t *option="")
virtual void PaintFrame (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color, Short_t bordersize, Short_t bordermode, Bool_t tops)
virtual void PaintWbox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color=33, Short_t bordersize=5, Short_t bordermode=-1)
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetBorderMode (Short_t bordermode)
virtual void SetBorderSize (Short_t bordersize)
 TWbox ()
 TWbox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color=18, Short_t bordersize=5, Short_t bordermode=1)
 TWbox (const TWbox &wbox)
virtual ~TWbox ()
void Copy (TObject &wbox) const
virtual void Draw (Option_t *option="")
virtual void DrawWbox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color=33, Short_t bordersize=5, Short_t bordermode=-1)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
Short_t GetBorderMode () const
Short_t GetBorderSize () const
Int_t GetDarkColor () const
Int_t GetLightColor () const
virtual void Paint (Option_t *option="")
virtual void PaintFrame (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color, Short_t bordersize, Short_t bordermode, Bool_t tops)
virtual void PaintWbox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color=33, Short_t bordersize=5, Short_t bordermode=-1)
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetBorderMode (Short_t bordermode)
virtual void SetBorderSize (Short_t bordersize)

Protected Attributes

Short_t fBorderSize
Short_t fBorderMode

Detailed Description

Definition at line 33 of file TWbox.h.


Constructor & Destructor Documentation

TWbox::TWbox (  ) 

Referenced by DrawWbox(), G__G__Graf_157_0_2(), and G__G__Graf_157_0_3().

TWbox::TWbox ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Color_t  color = 18,
Short_t  bordersize = 5,
Short_t  bordermode = 1 
)

Definition at line 47 of file TWbox.cxx.

References fBorderMode, fBorderSize, TAttFill::SetFillColor(), and TAttFill::SetFillStyle().

TWbox::TWbox ( const TWbox wbox  ) 

Definition at line 74 of file TWbox.cxx.

References fBorderMode, and fBorderSize.

TWbox::~TWbox (  )  [virtual]

Definition at line 67 of file TWbox.cxx.

TWbox::TWbox (  ) 

TWbox::TWbox ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Color_t  color = 18,
Short_t  bordersize = 5,
Short_t  bordermode = 1 
)

TWbox::TWbox ( const TWbox wbox  ) 

virtual TWbox::~TWbox (  )  [virtual]


Member Function Documentation

void TWbox::Copy ( TObject wbox  )  const [virtual]

Reimplemented from TBox.

Definition at line 85 of file TWbox.cxx.

References TBox::Copy(), fBorderMode, and fBorderSize.

Referenced by TFrame::Copy(), and G__G__Graf_119_0_3().

void TWbox::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TBox.

Definition at line 96 of file TWbox.cxx.

References TObject::AppendPad().

void TWbox::DrawWbox ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Color_t  color = 33,
Short_t  bordersize = 5,
Short_t  bordermode = -1 
) [virtual]

Definition at line 105 of file TWbox.cxx.

References TObject::AppendPad(), TObject::kCanDelete, TObject::SetBit(), and TWbox().

Referenced by G__G__Graf_157_0_6().

void TWbox::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TBox.

Definition at line 117 of file TWbox.cxx.

References TBox::ExecuteEvent().

Referenced by TFrame::ExecuteEvent().

Short_t TWbox::GetBorderMode (  )  const [inline]

Definition at line 51 of file TWbox.h.

References fBorderMode.

Referenced by G__G__Graf_157_0_8(), TPad::SavePrimitive(), TFrameEditor::SetModel(), and TFrame::UseCurrentStyle().

Short_t TWbox::GetBorderSize (  )  const [inline]

Definition at line 52 of file TWbox.h.

References fBorderSize.

Referenced by G__G__Graf_147_0_10(), G__G__Graf_157_0_9(), TPad::SavePrimitive(), TFrameEditor::SetModel(), and TFrame::UseCurrentStyle().

Int_t TWbox::GetDarkColor (  )  const [inline]

Definition at line 53 of file TWbox.h.

References TColor::GetColorDark(), and TAttFill::GetFillColor().

Referenced by G__G__Graf_157_0_10(), and PaintFrame().

Int_t TWbox::GetLightColor (  )  const [inline]

Definition at line 54 of file TWbox.h.

References TColor::GetColorBright(), and TAttFill::GetFillColor().

Referenced by G__G__Graf_157_0_11(), and PaintFrame().

void TWbox::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TBox.

Definition at line 128 of file TWbox.cxx.

References fBorderMode, fBorderSize, TBox::fX1, TBox::fX2, TBox::fY1, TBox::fY2, TAttFill::GetFillColor(), and PaintWbox().

Referenced by TetrisBox::Paint(), and TFrame::Paint().

void TWbox::PaintFrame ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Color_t  color,
Short_t  bordersize,
Short_t  bordermode,
Bool_t  tops 
) [virtual]

Definition at line 152 of file TWbox.cxx.

References TColor::GetColorBright(), TColor::GetColorDark(), GetDarkColor(), TAttFill::GetFillColor(), GetLightColor(), gPad, gVirtualX, TAttFill::Modify(), and TAttFill::SetFillColor().

Referenced by G__G__Graf_157_0_13(), and PaintWbox().

void TWbox::PaintWbox ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Color_t  color = 33,
Short_t  bordersize = 5,
Short_t  bordermode = -1 
) [virtual]

Definition at line 137 of file TWbox.cxx.

References TAttFill::IsTransparent(), kTRUE, TBox::PaintBox(), and PaintFrame().

Referenced by G__G__Graf_157_0_14(), and Paint().

void TWbox::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TBox.

Definition at line 222 of file TWbox.cxx.

References xmlio::Class, TROOT::ClassSaved(), TBox::fX1, TBox::fX2, TBox::fY1, TBox::fY2, gROOT, TAttFill::SaveFillAttributes(), and TAttLine::SaveLineAttributes().

virtual void TWbox::SetBorderMode ( Short_t  bordermode  )  [inline, virtual]

Definition at line 62 of file TWbox.h.

References fBorderMode.

Referenced by ApplicationWindow::ApplicationWindow(), TFrameEditor::DoBorderMode(), TParallelCoord::Draw(), TASImage::Draw(), TetrisBox::Erase(), fillrandom(), fit1(), G__G__Graf_157_0_16(), TPad::GetFrame(), handle1(), hsimple(), limit(), qa2(), read(), SpyServ::SpyServ(), TFrame::UseCurrentStyle(), and write().

virtual void TWbox::SetBorderSize ( Short_t  bordersize  )  [inline, virtual]

Definition at line 63 of file TWbox.h.

References fBorderSize.

Referenced by ApplicationWindow::ApplicationWindow(), canvas_write(), TFrameEditor::DoBorderSize(), MyMainFrame::DoDraw(), double32(), TParallelCoord::Draw(), fillrandom(), fit1(), G__G__Graf_147_0_27(), G__G__Graf_157_0_17(), gerrors(), gerrors2(), TPad::GetFrame(), graph(), handle1(), hsimple(), limit(), LoadXS(), matrixOperations_do(), ntuple1(), qa2(), read(), SpyServ::SpyServ(), TFrame::UseCurrentStyle(), write(), and XSGui::XSGui().

void TWbox::Copy ( TObject wbox  )  const [virtual]

Reimplemented from TBox.

virtual void TWbox::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TBox.

virtual void TWbox::DrawWbox ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Color_t  color = 33,
Short_t  bordersize = 5,
Short_t  bordermode = -1 
) [virtual]

virtual void TWbox::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TBox.

Short_t TWbox::GetBorderMode (  )  const [inline]

Definition at line 51 of file TWbox.h.

References fBorderMode.

Short_t TWbox::GetBorderSize (  )  const [inline]

Definition at line 52 of file TWbox.h.

References fBorderSize.

Int_t TWbox::GetDarkColor (  )  const [inline]

Definition at line 53 of file TWbox.h.

References TColor::GetColorDark(), and TAttFill::GetFillColor().

Int_t TWbox::GetLightColor (  )  const [inline]

Definition at line 54 of file TWbox.h.

References TColor::GetColorBright(), and TAttFill::GetFillColor().

virtual void TWbox::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TBox.

virtual void TWbox::PaintFrame ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Color_t  color,
Short_t  bordersize,
Short_t  bordermode,
Bool_t  tops 
) [virtual]

virtual void TWbox::PaintWbox ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Color_t  color = 33,
Short_t  bordersize = 5,
Short_t  bordermode = -1 
) [virtual]

virtual void TWbox::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TBox.

virtual void TWbox::SetBorderMode ( Short_t  bordermode  )  [inline, virtual]

Definition at line 62 of file TWbox.h.

References fBorderMode.

virtual void TWbox::SetBorderSize ( Short_t  bordersize  )  [inline, virtual]

Definition at line 63 of file TWbox.h.

References fBorderSize.


Member Data Documentation

Short_t TWbox::fBorderSize [protected]

Definition at line 36 of file TWbox.h.

Referenced by Copy(), GetBorderSize(), Paint(), SetBorderSize(), and TWbox().

Short_t TWbox::fBorderMode [protected]

Definition at line 37 of file TWbox.h.

Referenced by Copy(), GetBorderMode(), Paint(), SetBorderMode(), and TWbox().


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