|
ROOT
Reference Guide |
|
Go to the documentation of this file.
12 #ifndef ROOT_TPaveText
13 #define ROOT_TPaveText
virtual TText * GetLineWith(const char *text) const
Get Pointer to first containing string text in this pavetext.
virtual void Paint(Option_t *option="")
Paint this pavetext with its current attributes.
virtual void Clear(Option_t *option="")
Clear all lines in this pavetext.
virtual TObject * GetObject(Double_t &ymouse, Double_t &yobj) const
Get object pointed by the mouse in this pavetext.
const char * Data() const
virtual void InsertLine()
Add a new line at the mouse position.
virtual void SetAllWith(const char *text, Option_t *option, Double_t value)
Set attribute option for all lines containing string text.
virtual void Print(Option_t *option="") const
Dump this pavetext with its attributes.
virtual TText * GetLine(Int_t number) const
Get Pointer to line number in this pavetext.
TPaveText & operator=(const TPaveText &)
assignment operator
static const double x1[5]
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
TPaveText()
pavetext default constructor.
virtual void UseCurrentStyle()
Replace current attributes by current style.
TString fLabel
Label written at the top of the pavetext.
virtual void SetLabel(const char *label)
virtual TLine * AddLine(Double_t x1=0, Double_t y1=0, Double_t x2=0, Double_t y2=0)
Add a new graphics line to this pavetext.
virtual TBox * AddBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Add a new graphics box to this pavetext.
virtual void DrawFile(const char *filename, Option_t *option="")
Draw lines in filename in this pavetext.
A TBox with a bordersize and a shadow option.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual Int_t GetSize() const
return number of text lines (ignoring TLine, etc)
Float_t GetMargin() const
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
const char * GetLabel() const
Base class for several text objects.
virtual void InsertText(const char *label)
Add a new Text line at the mouse position.
Mother of all ROOT objects.
virtual void PaintPrimitives(Int_t mode)
Paint list of primitives in this pavetext.
virtual TList * GetListOfLines() const
#define ClassDef(name, id)
virtual void SaveLines(std::ostream &out, const char *name, Bool_t saved)
Save lines of this pavetext as C++ statements on output stream out.
virtual void DeleteText()
Delete text at the mouse position.
static const double x2[5]
A Pave (see TPave) with text, lines or/and boxes inside.
TList * fLines
List of labels.
virtual void SetMargin(Float_t margin=0.05)
virtual ~TPaveText()
pavetext default destructor.
Int_t fLongest
Length of the longest line.
virtual void EditText()
Edit text at the mouse position.
Float_t fMargin
Text margin.
virtual void ReadFile(const char *filename, Option_t *option="", Int_t nlines=50, Int_t fromline=0)
Read lines of filename in this pavetext.