Public Member Functions | Static Public Attributes | Private Attributes

TGo4Label Class Reference

#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

Private Attributes

TObject * fxOwner

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 31 of file TGo4LabelPainter.h.


Constructor & Destructor Documentation

TGo4Label::TGo4Label (  )  [inline]

Definition at line 34 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 35 of file TGo4LabelPainter.h.

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

Definition at line 38 of file TGo4LabelPainter.h.

References fxLastDeleted.


Member Function Documentation

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

Definition at line 220 of file TGo4LabelPainter.cxx.

References TGo4LabelPainter::DisplayToFront(), and fxOwner.

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

Definition at line 205 of file TGo4LabelPainter.cxx.

References fxOwner.

Referenced by TGo4LabelPainter::RePaintLabel().

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

Definition at line 39 of file TGo4LabelPainter.h.

References fxOwner.

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


Member Data Documentation

char * TGo4Label::fxLastDeleted = 0 [static]

set this to pointer of last deleted instance before

Definition at line 46 of file TGo4LabelPainter.h.

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

TObject* TGo4Label::fxOwner [private]

the owner of this label

Definition at line 50 of file TGo4LabelPainter.h.

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines