TLegendEntry
class description - source file - inheritance tree
    public:
             TLegendEntry TLegendEntry()
             TLegendEntry TLegendEntry(TObject* obj, const char* label = "0", Option_t* option = "lpf")
             TLegendEntry TLegendEntry(const TLegendEntry& entry)
             virtual void ~TLegendEntry()
           static TClass* Class()
             virtual void Copy(TObject& obj)
      virtual const char* GetLabel() const
         virtual TObject* GetObject() const
        virtual Option_t* GetOption() const
          virtual TClass* IsA() const
             virtual void Print(Option_t* option) const
             virtual void SaveEntry(ofstream& out, const char* name)
             virtual void SetLabel(const char* label)
             virtual void SetObject(TObject* obj)
             virtual void SetObject(const char* objectName)
             virtual void SetOption(Option_t* option = "lpf")
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
    protected:
      TObject* fObject  pointer to object being represented by this entry
       TString fLabel   Text associated with the entry, will become latex
       TString fOption  Options associated with this entry
 TLegendEntry   Matthew.Adam.Dobbs@Cern.CH, September 1999
 Storage class for one entry of a TLegend
 TLegendEntry(): TAttText(), TAttLine(), TAttFill(), TAttMarker()
 TLegendEntry do-nothing default constructor
 TLegendEntry(TObject* obj, const char* label, Option_t* option )
             :TAttText(12,0,1,0,0), TAttLine(1,1,1), TAttFill(0,0), TAttMarker(1,21,1)
___________________________________
 TLegendEntry normal constructor for one entry in a TLegend
   obj is the object this entry will represent. If obj has
   line/fill/marker attributes, then the TLegendEntry will display
   these attributes.
   label is the text that will describe the entry, it is displayed using
   TLatex, so may have a complex format.
   option may have values
    L draw line associated w/ TAttLine if obj inherits from TAttLine
    P draw polymarker assoc. w/ TAttMarker if obj inherits from TAttMarker
    F draw a box with fill associated w/ TAttFill if obj inherits TAttFill
   default is object = "LPF"
 TLegendEntry( const TLegendEntry &entry ) : TObject(entry), TAttText(entry), TAttLine(entry), TAttFill(entry), TAttMarker(entry)
 TLegendEntry copy constructor
 ~TLegendEntry()
 TLegendEntry default destructor
void Copy( TObject &obj )
 copy this TLegendEntry into obj
void Print( Option_t *) const
 dump this TLegendEntry to cout
void SaveEntry( ofstream &out, const char* name )
 Save this TLegendEntry as C++ statements on output stream out
  to be used with the SaveAs .C option
void SetObject(TObject* obj )
 (re)set the obj pointed to by this entry
void SetObject( const char* objectName)
 (re)set the obj pointed to by this entry
Inline Functions
        const char* GetLabel() const
           TObject* GetObject() const
          Option_t* GetOption() const
               void SetLabel(const char* label)
               void SetOption(Option_t* option = "lpf")
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
Author: Matthew.Adam.Dobbs 06/09/99
Last update: root/graf:$Name:  $:$Id: TLegendEntry.cxx,v 1.8 2002/05/18 08:21:59 brun Exp $
Copyright  (C) 1995-2000, Rene Brun and Fons Rademakers.               *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.