Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TLegend Class Reference

#include <TLegend.h>

Inheritance diagram for TLegend:

Inheritance graph
[legend]
Collaboration diagram for TLegend:

Collaboration graph
[legend]
List of all members.

Public Methods

 TLegend ()
 TLegend (Double_t x1, Double_t y1, Double_t x2, Double_t y2, const char *header="", Option_t *option="brNDC")
virtual ~TLegend ()
 TLegend (const TLegend &legend)
TLegendEntryAddEntry (TObject *obj, const char *label="", Option_t *option="lpf")
TLegendEntryAddEntry (const char *name, const char *label="", Option_t *option="lpf")
virtual void Clear (Option_t *option="")
virtual void Copy (TObject &obj) const
virtual void DeleteEntry ()
virtual void Draw (Option_t *option="")
virtual void EditEntryAttFill ()
virtual void EditEntryAttLine ()
virtual void EditEntryAttMarker ()
virtual void EditEntryAttText ()
TLegendEntryGetEntry () const
Float_t GetEntrySeparation () const
virtual const char * GetHeader () const
TListGetListOfPrimitives () const
Float_t GetMargin () const
virtual void InsertEntry (const char *objectName="", const char *label="", Option_t *option="lpf")
virtual void Paint (Option_t *option="")
virtual void PaintPrimitives ()
virtual void Print (Option_t *option="") const
virtual void RecursiveRemove (TObject *obj)
virtual void SavePrimitive (ofstream &out, Option_t *option)
void SetDefaults ()
virtual void SetEntryLabel (const char *label)
virtual void SetEntryOption (Option_t *option)
void SetEntrySeparation (Float_t entryseparation)
virtual void SetHeader (const char *header="")
void SetMargin (Float_t margin)

Protected Attributes

TListfPrimitives
Float_t fEntrySeparation
Float_t fMargin

Constructor & Destructor Documentation

TLegend::TLegend  
 

TLegend::TLegend Double_t    x1,
Double_t    y1,
Double_t    x2,
Double_t    y2,
const char *    header = "",
Option_t *    option = "brNDC"
 

virtual TLegend::~TLegend   [virtual]
 

TLegend::TLegend const TLegend &    legend
 


Member Function Documentation

TLegendEntry* TLegend::AddEntry TObject   obj,
const char *    label = "",
Option_t *    option = "lpf"
 

TLegendEntry* TLegend::AddEntry const char *    name,
const char *    label = "",
Option_t *    option = "lpf"
 

virtual void TLegend::Clear Option_t *    option = "" [virtual]
 

Reimplemented from TObject.

virtual void TLegend::Copy TObject   obj const [virtual]
 

Reimplemented from TPave.

virtual void TLegend::DeleteEntry   [virtual]
 

virtual void TLegend::Draw Option_t *    option = "" [virtual]
 

Reimplemented from TPave.

virtual void TLegend::EditEntryAttFill   [virtual]
 

virtual void TLegend::EditEntryAttLine   [virtual]
 

virtual void TLegend::EditEntryAttMarker   [virtual]
 

virtual void TLegend::EditEntryAttText   [virtual]
 

TLegendEntry* TLegend::GetEntry   const
 

Float_t TLegend::GetEntrySeparation   const
 

Definition at line 53 of file TLegend.h.

References fEntrySeparation.

virtual const char* TLegend::GetHeader   const [virtual]
 

TList* TLegend::GetListOfPrimitives   const
 

Definition at line 55 of file TLegend.h.

References fPrimitives.

Float_t TLegend::GetMargin   const
 

Definition at line 56 of file TLegend.h.

References fMargin.

virtual void TLegend::InsertEntry const char *    objectName = "",
const char *    label = "",
Option_t *    option = "lpf"
[virtual]
 

virtual void TLegend::Paint Option_t *    option = "" [virtual]
 

Reimplemented from TPave.

virtual void TLegend::PaintPrimitives   [virtual]
 

virtual void TLegend::Print Option_t *    option = "" const [virtual]
 

Reimplemented from TPave.

virtual void TLegend::RecursiveRemove TObject   obj [virtual]
 

Reimplemented from TObject.

virtual void TLegend::SavePrimitive ofstream &    out,
Option_t *    option
[virtual]
 

Reimplemented from TPave.

void TLegend::SetDefaults  
 

Definition at line 64 of file TLegend.h.

References fEntrySeparation, and fMargin.

virtual void TLegend::SetEntryLabel const char *    label [virtual]
 

virtual void TLegend::SetEntryOption Option_t *    option [virtual]
 

void TLegend::SetEntrySeparation Float_t    entryseparation
 

Definition at line 67 of file TLegend.h.

References fEntrySeparation.

virtual void TLegend::SetHeader const char *    header = "" [virtual]
 

void TLegend::SetMargin Float_t    margin
 

Definition at line 70 of file TLegend.h.

References fMargin.


Member Data Documentation

TList* TLegend::fPrimitives [protected]
 

Definition at line 73 of file TLegend.h.

Referenced by GetListOfPrimitives().

Float_t TLegend::fEntrySeparation [protected]
 

Definition at line 74 of file TLegend.h.

Referenced by GetEntrySeparation(), SetDefaults(), and SetEntrySeparation().

Float_t TLegend::fMargin [protected]
 

Definition at line 77 of file TLegend.h.

Referenced by GetMargin(), SetDefaults(), and SetMargin().


The documentation for this class was generated from the following file:
Generated on Thu Dec 18 15:04:19 2003 for ROOT by doxygen1.2.16