TPaveLabel


class description - source file - inheritance tree

class TPaveLabel : public TPave, public TAttText


    public:
TPaveLabel TPaveLabel(Coord_t x1, Coord_t y1, Coord_t x2, Coord_t y2, const Text_t* label, Option_t* option = br) TPaveLabel TPaveLabel() TPaveLabel TPaveLabel(const TPaveLabel& pavelabel) virtual void ~TPaveLabel() TClass* Class() virtual void Copy(TObject& pavelabel) virtual void Draw(Option_t* option) virtual void DrawPaveLabel(Coord_t x1, Coord_t y1, Coord_t x2, Coord_t y2, const Text_t* label, Option_t* option) const Text_t* GetLabel() const virtual const Text_t* GetTitle() const virtual TClass* IsA() const virtual void Paint(Option_t* option) virtual void PaintPaveLabel(Coord_t x1, Coord_t y1, Coord_t x2, Coord_t y2, const Text_t* label, Option_t* option) virtual void Print(Option_t* option) virtual void SavePrimitive(ofstream& out, Option_t* option) virtual void SetLabel(const Text_t* label) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
TString fLabel Label written at the center of Pave


See also

TPaveClass

Class Description

*  A PaveLabel is a Pave (see TPave) with a text centered in the Pave.

/*

*/



TPaveLabel(): TPave(), TAttText()
*-*-*-*-*-*-*-*-*-*-*pavelabel default constructor*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  =============================

TPaveLabel(Coord_t x1, Coord_t y1,Coord_t x2, Coord_t y2, const Text_t *label, Option_t *option) :TPave(x1,y1,x2,y2,3,option), TAttText(22,0,1,62,0.99)
*-*-*-*-*-*-*-*-*-*-*pavelabel normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ============================
 a PaveLabel is a Pave with a label centered in the Pave
 The Pave is by default defined bith bordersize=5 and option ="br".
 The text size is automatically computed as a function of the pave size.


~TPaveLabel()
*-*-*-*-*-*-*-*-*-*-*pavelabel default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ============================

TPaveLabel(const TPaveLabel &pavelabel)

void Copy(TObject &obj)
*-*-*-*-*-*-*-*-*-*-*Copy this pavelabel to pavelabel*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ================================

void Draw(Option_t *option)
*-*-*-*-*-*-*-*-*-*-*Draw this pavelabel with its current attributes*-*-*-*-*
*-*                  ===============================================

void DrawPaveLabel(Coord_t x1, Coord_t y1, Coord_t x2, Coord_t y2, const Text_t *label, Option_t *)
*-*-*-*-*-*-*-*-*-*-*Draw this pavelabel with new coordinates*-*-*-*-*-*-*-*
*-*                  ========================================

void Paint(Option_t *option)
*-*-*-*-*-*-*-*-*-*-*Paint this pavelabel with its current attributes*-*-*-*
*-*                  ================================================

void PaintPaveLabel(Coord_t x1, Coord_t y1,Coord_t x2, Coord_t y2, const Text_t *label ,Option_t *option)
*-*-*-*-*-*-*-*-*-*-*Draw this pavelabel with new coordinates*-*-*-*-*-*-*-*
*-*                  ========================================

void Print(Option_t *option)
*-*-*-*-*-*-*-*-*-*-*Dump this pavelabel with its attributes*-*-*-*-*-*-*-*
*-*                  =======================================

void SavePrimitive(ofstream &out, Option_t *)
 Save primitive as a C++ statement(s) on output stream out



Inline Functions


        const Text_t* GetLabel() const
        const Text_t* GetTitle() const
                 void SetLabel(const Text_t* label)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)


Author: Rene Brun 17/10/95
Last update: 2.23/05 17/10/99 11.13.04 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


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.