Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4Label Class Reference

Text label that knows its author. More...

#include <TGo4LabelPainter.h>

List of all members.

Public Member Functions

 TGo4Label ()
 TGo4Label (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="br")
virtual ~TGo4Label ()
void SetOwner (TObject *ob)
virtual void Paint (Option_t *opt="")
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)

Static Public Attributes

static char * fxLastDeleted = 0
 set this to pointer of last deleted instance before

Private Attributes

TObject * fxOwner
 the owner of this label


Detailed Description

Text label that knows its author.

Required to suppress orphaned copies of marker and condition labels after canvas reconstruction by streamer.

Since:
8/2004
Author:
J. Adamczewski

Definition at line 33 of file TGo4LabelPainter.h.


Constructor & Destructor Documentation

TGo4Label::TGo4Label  )  [inline]
 

Definition at line 36 of file TGo4LabelPainter.h.

TGo4Label::TGo4Label Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Option_t *  option = "br"
[inline]
 

Definition at line 37 of file TGo4LabelPainter.h.

virtual TGo4Label::~TGo4Label  )  [inline, virtual]
 

Definition at line 40 of file TGo4LabelPainter.h.

References fxLastDeleted.


Member Function Documentation

void TGo4Label::SetOwner TObject *  ob  )  [inline]
 

Definition at line 41 of file TGo4LabelPainter.h.

References fxOwner.

Referenced by TGo4LabelPainter::CheckLabel(), and TGo4LabelPainter::CreateCurrentLabel().

void TGo4Label::Paint Option_t *  opt = ""  )  [virtual]
 

Definition at line 204 of file TGo4LabelPainter.cxx.

References fxOwner.

Referenced by TGo4LabelPainter::RePaintLabel().

void TGo4Label::ExecuteEvent Int_t  event,
Int_t  px,
Int_t  py
[virtual]
 

Definition at line 219 of file TGo4LabelPainter.cxx.

References TGo4LabelPainter::DisplayToFront(), and fxOwner.


Member Data Documentation

char * TGo4Label::fxLastDeleted = 0 [static]
 

set this to pointer of last deleted instance before

Definition at line 202 of file TGo4LabelPainter.cxx.

Referenced by TGo4LabelPainter::CheckLabel(), and ~TGo4Label().

TObject* TGo4Label::fxOwner [private]
 

the owner of this label

Definition at line 52 of file TGo4LabelPainter.h.

Referenced by ExecuteEvent(), Paint(), and SetOwner().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:03 2008 for Go4-v3.04-1 by  doxygen 1.4.2