Storage class for one entry of a TLegend.
virtual TObject * GetObject() const
virtual void SetLabel(const char *label="")
TObject * fObject
pointer to object being represented by this entry
virtual void SetOption(Option_t *option="lpf")
TLegendEntry()
TLegendEntry do-nothing default constructor.
virtual void SaveEntry(std::ostream &out, const char *name)
Save this TLegendEntry as C++ statements on output stream out to be used with the SaveAs ....
~TLegendEntry() override
TLegendEntry default destructor.
virtual const char * GetLabel() const
TLegendEntry & operator=(const TLegendEntry &)=delete
TString fLabel
Text associated with the entry, will become latex.
virtual void SetObject(TObject *obj)
(re)set the obj pointed to by this entry
void Copy(TObject &obj) const override
copy this TLegendEntry into obj
void Print(Option_t *option="") const override
dump this TLegendEntry to std::cout
TString fOption
Options associated with this entry.
Option_t * GetOption() const override