Logo ROOT  
Reference Guide
TVirtualPadEditor Class Referenceabstract

Abstract base class used by ROOT graphics editor.

Definition at line 27 of file TVirtualPadEditor.h.

Public Member Functions

 TVirtualPadEditor ()
 Virtual editor ctor. More...
 
virtual ~TVirtualPadEditor ()
 Virtual editor dtor. More...
 
virtual void Build ()
 
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)
 
virtual TCanvasGetCanvas () const =0
 
virtual void Hide ()
 
virtual Bool_t IsGlobal () const =0
 
virtual void LineAttributes (Int_t, Int_t, Int_t)
 
virtual void MarkerAttributes (Int_t, Int_t, Float_t)
 
virtual void SetGlobal (Bool_t)
 
virtual void Show ()
 
virtual void TextAttributes (Int_t, Float_t, Int_t, Int_t, Float_t)
 

Static Public Member Functions

static const char * GetEditorName ()
 Returns the type of the default pad editor. Static method. More...
 
static TVirtualPadEditorGetPadEditor (Bool_t load=kTRUE)
 Returns the pad editor dialog. Static method. More...
 
static void HideEditor ()
 Hide the pad editor. Static method. More...
 
static TVirtualPadEditorLoadEditor ()
 Static function returning a pointer to a new pad editor. More...
 
static void SetPadEditorName (const char *name)
 Set type of default pad editor. Static method. More...
 
static void ShowEditor ()
 Show the global pad editor. Static method. More...
 
static void Terminate ()
 Close the global pad editor. Static method. More...
 
static void UpdateFillAttributes (Int_t col, Int_t sty)
 Update fill attributes via the pad editor. More...
 
static void UpdateLineAttributes (Int_t col, Int_t sty, Int_t width)
 Update line attributes via the pad editor. More...
 
static void UpdateMarkerAttributes (Int_t col, Int_t sty, Float_t msiz)
 Update marker attributes via the pad editor. More...
 
static void UpdateTextAttributes (Int_t align, Float_t angle, Int_t col, Int_t font, Float_t tsize)
 Update text attributes via the pad editor. More...
 

Static Protected Attributes

static TString fgEditorName = ""
 
static TVirtualPadEditorfgPadEditor = 0
 

#include <TVirtualPadEditor.h>

Inheritance diagram for TVirtualPadEditor:
[legend]

Constructor & Destructor Documentation

◆ TVirtualPadEditor()

TVirtualPadEditor::TVirtualPadEditor ( )

Virtual editor ctor.

Definition at line 31 of file TVirtualPadEditor.cxx.

◆ ~TVirtualPadEditor()

TVirtualPadEditor::~TVirtualPadEditor ( )
virtual

Virtual editor dtor.

Definition at line 38 of file TVirtualPadEditor.cxx.

Member Function Documentation

◆ Build()

virtual void TVirtualPadEditor::Build ( )
inlinevirtual

Definition at line 48 of file TVirtualPadEditor.h.

◆ DeleteEditors()

virtual void TVirtualPadEditor::DeleteEditors ( )
inlinevirtual

Definition at line 51 of file TVirtualPadEditor.h.

◆ DrawLine()

virtual void TVirtualPadEditor::DrawLine ( Double_t  ,
Double_t  ,
Double_t  ,
Double_t   
)
inlinevirtual

Definition at line 39 of file TVirtualPadEditor.h.

◆ DrawLineNDC()

virtual void TVirtualPadEditor::DrawLineNDC ( Double_t  ,
Double_t  ,
Double_t  ,
Double_t   
)
inlinevirtual

Definition at line 40 of file TVirtualPadEditor.h.

◆ DrawText()

virtual void TVirtualPadEditor::DrawText ( Double_t  ,
Double_t  ,
const char *   
)
inlinevirtual

Definition at line 41 of file TVirtualPadEditor.h.

◆ DrawTextNDC()

virtual void TVirtualPadEditor::DrawTextNDC ( Double_t  ,
Double_t  ,
const char *   
)
inlinevirtual

Definition at line 42 of file TVirtualPadEditor.h.

◆ FillAttributes()

virtual void TVirtualPadEditor::FillAttributes ( Int_t  ,
Int_t   
)
inlinevirtual

Definition at line 43 of file TVirtualPadEditor.h.

◆ GetCanvas()

virtual TCanvas * TVirtualPadEditor::GetCanvas ( ) const
pure virtual

Implemented in TGedEditor.

◆ GetEditorName()

const char * TVirtualPadEditor::GetEditorName ( )
static

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

Definition at line 66 of file TVirtualPadEditor.cxx.

◆ GetPadEditor()

TVirtualPadEditor * TVirtualPadEditor::GetPadEditor ( Bool_t  load = kTRUE)
static

Returns the pad editor dialog. Static method.

Definition at line 74 of file TVirtualPadEditor.cxx.

◆ Hide()

virtual void TVirtualPadEditor::Hide ( )
inlinevirtual

Reimplemented in TGedEditor.

Definition at line 50 of file TVirtualPadEditor.h.

◆ HideEditor()

void TVirtualPadEditor::HideEditor ( )
static

Hide the pad editor. Static method.

Definition at line 109 of file TVirtualPadEditor.cxx.

◆ IsGlobal()

virtual Bool_t TVirtualPadEditor::IsGlobal ( ) const
pure virtual

Implemented in TGedEditor.

◆ LineAttributes()

virtual void TVirtualPadEditor::LineAttributes ( Int_t  ,
Int_t  ,
Int_t   
)
inlinevirtual

Definition at line 44 of file TVirtualPadEditor.h.

◆ LoadEditor()

TVirtualPadEditor * TVirtualPadEditor::LoadEditor ( )
static

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.

Definition at line 47 of file TVirtualPadEditor.cxx.

◆ MarkerAttributes()

virtual void TVirtualPadEditor::MarkerAttributes ( Int_t  ,
Int_t  ,
Float_t   
)
inlinevirtual

Definition at line 45 of file TVirtualPadEditor.h.

◆ SetGlobal()

virtual void TVirtualPadEditor::SetGlobal ( Bool_t  )
inlinevirtual

Reimplemented in TGedEditor.

Definition at line 52 of file TVirtualPadEditor.h.

◆ SetPadEditorName()

void TVirtualPadEditor::SetPadEditorName ( const char *  name)
static

Set type of default pad editor. Static method.

Definition at line 85 of file TVirtualPadEditor.cxx.

◆ Show()

virtual void TVirtualPadEditor::Show ( )
inlinevirtual

Reimplemented in TGedEditor.

Definition at line 49 of file TVirtualPadEditor.h.

◆ ShowEditor()

void TVirtualPadEditor::ShowEditor ( )
static

Show the global pad editor. Static method.

Definition at line 96 of file TVirtualPadEditor.cxx.

◆ Terminate()

void TVirtualPadEditor::Terminate ( )
static

Close the global pad editor. Static method.

Definition at line 118 of file TVirtualPadEditor.cxx.

◆ TextAttributes()

virtual void TVirtualPadEditor::TextAttributes ( Int_t  ,
Float_t  ,
Int_t  ,
Int_t  ,
Float_t   
)
inlinevirtual

Definition at line 46 of file TVirtualPadEditor.h.

◆ UpdateFillAttributes()

void TVirtualPadEditor::UpdateFillAttributes ( Int_t  col,
Int_t  sty 
)
static

Update fill attributes via the pad editor.

Definition at line 129 of file TVirtualPadEditor.cxx.

◆ UpdateLineAttributes()

void TVirtualPadEditor::UpdateLineAttributes ( Int_t  col,
Int_t  sty,
Int_t  width 
)
static

Update line attributes via the pad editor.

Definition at line 152 of file TVirtualPadEditor.cxx.

◆ UpdateMarkerAttributes()

void TVirtualPadEditor::UpdateMarkerAttributes ( Int_t  col,
Int_t  sty,
Float_t  msiz 
)
static

Update marker attributes via the pad editor.

Definition at line 164 of file TVirtualPadEditor.cxx.

◆ UpdateTextAttributes()

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

Update text attributes via the pad editor.

Definition at line 140 of file TVirtualPadEditor.cxx.

Member Data Documentation

◆ fgEditorName

TString TVirtualPadEditor::fgEditorName = ""
staticprotected

Definition at line 31 of file TVirtualPadEditor.h.

◆ fgPadEditor

TVirtualPadEditor * TVirtualPadEditor::fgPadEditor = 0
staticprotected

Definition at line 30 of file TVirtualPadEditor.h.


The documentation for this class was generated from the following files: