GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
TGo4Label Class Reference

#include <TGo4LabelPainter.h>

+ Inheritance diagram for TGo4Label:

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 const void * 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 27 of file TGo4LabelPainter.h.

Constructor & Destructor Documentation

TGo4Label::TGo4Label ( )
inline

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

virtual TGo4Label::~TGo4Label ( )
inlinevirtual

Definition at line 37 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 225 of file TGo4LabelPainter.cxx.

References TGo4LabelPainter::DisplayToFront(), and fxOwner.

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

Definition at line 210 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

const void * 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: