library: libCore #include "TVirtualPadEditor.h"

# TVirtualPadEditor

class description - source file - inheritance tree (.ps)

## class TVirtualPadEditor

| Inheritance Chart:

`TVirtualPadEditor`

<-

`TGedEditor` |

        public:

                                    TVirtualPadEditor()
                                    TVirtualPadEditor(const TVirtualPadEditor&)
                            virtual ~TVirtualPadEditor()
                       virtual void Build()
                     static TClass* Class()
                       virtual void DeleteEditors()
                       virtual void DrawLine(Double_t, Double_t, Double_t, Double_t)
                       virtual void DrawLineNDC(Double_t, Double_t, Double_t, Double_t)
                       virtual void DrawText(Double_t, Double_t, const char*)
                       virtual void DrawTextNDC(Double_t, Double_t, const char*)
                       virtual void FillAttributes(Int_t, Int_t)
                 static const char* GetEditorName() const
          static TVirtualPadEditor* GetPadEditor()
                       virtual void Hide()
                        static void HideEditor()
                    virtual TClass* IsA() const
                       virtual void LineAttributes(Int_t, Int_t, Int_t)
          static TVirtualPadEditor* LoadEditor()
                       virtual void MarkerAttributes(Int_t, Int_t, Float_t)
                 TVirtualPadEditor& operator=(const TVirtualPadEditor&)
                        static void SetPadEditorName(const char* name)
                       virtual void Show()
                        static void ShowEditor()
                       virtual void ShowMembers(TMemberInspector& insp, char* parent)
                       virtual void Streamer(TBuffer& b)
                               void StreamerNVirtual(TBuffer& b)
                       virtual void TextAttributes(Int_t, Float_t, Int_t, Int_t, Float_t)
                        static void UpdateFillAttributes(Int_t col, Int_t sty)
                        static void UpdateLineAttributes(Int_t col, Int_t sty, Int_t width)
                        static void UpdateMarkerAttributes(Int_t col, Int_t sty, Float_t msiz)
                        static void UpdateTextAttributes(Int_t align, Float_t angle, Int_t col, Int_t font, Float_t tsize)

### Data Members

        protected:

          static TVirtualPadEditor* fgPadEditor   singleton editor dialog
                     static TString fgEditorName  name of the default pad editor "Ged"

## Class Description

TVirtualPadEditor()

     Virtual editor ctor.

~TVirtualPadEditor()

     Virtual editor dtor.

TVirtualPadEditor* LoadEditor()

     Static function returning a pointer to a new pad editor.
     This pointer can be adopted by a TCanvas (i.e. TRootCanvas)
     when it embeds the editor.

const char* GetEditorName()

     Returns the type of the default pad editor. Static method.

TVirtualPadEditor* GetPadEditor()

     Returns the pad editor dialog. Static method.

void SetPadEditorName(const char *name)

     Set type of default pad editor. Static method.

void ShowEditor()

     Show the pad editor. Static method.

void HideEditor()

      Hide the pad editor. Static method.

void UpdateFillAttributes(Int_t color, Int_t style)

     Update fill attributes via the pad editor

void UpdateTextAttributes(Int_t align, Float_t angle, Int_t col, Int_t font, Float_t tsize)

     Update text attributes via the pad editor

void UpdateLineAttributes(Int_t color, Int_t style, Int_t width)

     Update line attributes via the pad editor

void UpdateMarkerAttributes(Int_t color, Int_t style, Float_t msize)

     Update marker attributes via the pad editor

### Inline Functions

                          void DrawLine(Double_t, Double_t, Double_t, Double_t)
                          void DrawLineNDC(Double_t, Double_t, Double_t, Double_t)
                          void DrawText(Double_t, Double_t, const char*)
                          void DrawTextNDC(Double_t, Double_t, const char*)
                          void FillAttributes(Int_t, Int_t)
                          void LineAttributes(Int_t, Int_t, Int_t)
                          void MarkerAttributes(Int_t, Int_t, Float_t)
                          void TextAttributes(Int_t, Float_t, Int_t, Int_t, Float_t)
                          void Build()
                          void Show()
                          void Hide()
                          void DeleteEditors()
                       TClass* Class()
                       TClass* IsA() const
                          void ShowMembers(TMemberInspector& insp, char* parent)
                          void Streamer(TBuffer& b)
                          void StreamerNVirtual(TBuffer& b)
             TVirtualPadEditor TVirtualPadEditor(const TVirtualPadEditor&)
            TVirtualPadEditor& operator=(const TVirtualPadEditor&)

Author: Ilka Antcheva 25/11/03
Last update: root/base:$Name: $:$Id: TVirtualPadEditor.cxx,v 1.0 2003/11/25
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *