library: libCore #include "TVirtualPadEditor.h"

# TVirtualPadEditor

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

## class TVirtualPadEditor

| Inheritance Chart:

`TVirtualPadEditor`

<-

`TGedEditor` |

This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.

        public:

                            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(Bool_t load = kTRUE)
                       virtual void Hide()
                        static void HideEditor()
                    virtual TClass* IsA() const
                     virtual Bool_t IsGlobal() 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&)
                       virtual void SetGlobal(Bool_t)
                        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)
                        static void Terminate()
                       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 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(Bool_t load)

     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 Terminate()

     Close the global 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 Hide()
                        Bool_t IsGlobal() const
                          void DeleteEditors()
                          void SetGlobal(Bool_t)
                          void Show()
                       TClass* Class()
                       TClass* IsA() const
                          void ShowMembers(TMemberInspector& insp, char* parent)
                          void Streamer(TBuffer& b)
                          void StreamerNVirtual(TBuffer& b)
            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. *