Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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.
 
virtual ~TVirtualPadEditor ()
 Virtual editor dtor.
 
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 TClassIsA () const
 
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 Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void TextAttributes (Int_t, Float_t, Int_t, Int_t, Float_t)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static const char * GetEditorName ()
 Returns the type of the default pad editor. Static method.
 
static TVirtualPadEditorGetPadEditor (Bool_t load=kTRUE)
 Returns the pad editor dialog. Static method.
 
static void HideEditor ()
 Hide the pad editor. Static method.
 
static TVirtualPadEditorLoadEditor ()
 Static function returning a pointer to a new pad editor.
 
static void SetPadEditorName (const char *name)
 Set type of default pad editor. Static method.
 
static void ShowEditor ()
 Show the global pad editor. Static method.
 
static void Terminate ()
 Close the global pad editor. Static method.
 
static void UpdateFillAttributes (Int_t col, Int_t sty)
 Update fill attributes via the pad editor.
 
static void UpdateLineAttributes (Int_t col, Int_t sty, Int_t width)
 Update line attributes via the pad editor.
 
static void UpdateMarkerAttributes (Int_t col, Int_t sty, Float_t msiz)
 Update marker attributes via the pad editor.
 
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.
 

Static Protected Attributes

static TString fgEditorName = ""
 
static TVirtualPadEditorfgPadEditor = nullptr
 

#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.

◆ Class()

static TClass * TVirtualPadEditor::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TVirtualPadEditor::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TVirtualPadEditor::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 70 of file TVirtualPadEditor.h.

◆ DeclFileName()

static const char * TVirtualPadEditor::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 70 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.

◆ IsA()

virtual TClass * TVirtualPadEditor::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented in TGedEditor.

Definition at line 70 of file TVirtualPadEditor.h.

◆ 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.

◆ Streamer()

virtual void TVirtualPadEditor::Streamer ( TBuffer )
virtual

Reimplemented in TGedEditor.

◆ StreamerNVirtual()

void TVirtualPadEditor::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 70 of file TVirtualPadEditor.h.

◆ 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 = nullptr
staticprotected

Definition at line 30 of file TVirtualPadEditor.h.

  • core/base/inc/TVirtualPadEditor.h
  • core/base/src/TVirtualPadEditor.cxx