ROOT  6.06/09
Reference Guide
Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
TVirtualPadEditor Class Referenceabstract

Abstract base class used by ROOT graphics editor.

Definition at line 29 of file TVirtualPadEditor.h.

Public Member Functions

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

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 TVirtualPadEditorLoadEditor ()
 Static function returning a pointer to a new pad editor. More...
 
static void HideEditor ()
 Hide the pad editor. Static method. More...
 
static void ShowEditor ()
 Show the global pad editor. Static method. More...
 
static void SetPadEditorName (const char *name)
 Set type of default 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 TVirtualPadEditorfgPadEditor = 0
 
static TString fgEditorName = ""
 

#include <TVirtualPadEditor.h>

+ Inheritance diagram for TVirtualPadEditor:
+ Collaboration diagram for TVirtualPadEditor:

Constructor & Destructor Documentation

TVirtualPadEditor::TVirtualPadEditor ( )
TVirtualPadEditor::~TVirtualPadEditor ( )
virtual

Virtual editor dtor.

Definition at line 36 of file TVirtualPadEditor.cxx.

Member Function Documentation

virtual void TVirtualPadEditor::Build ( )
inlinevirtual

Definition at line 50 of file TVirtualPadEditor.h.

virtual void TVirtualPadEditor::DeleteEditors ( )
inlinevirtual

Definition at line 53 of file TVirtualPadEditor.h.

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

Definition at line 41 of file TVirtualPadEditor.h.

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

Definition at line 42 of file TVirtualPadEditor.h.

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

Definition at line 43 of file TVirtualPadEditor.h.

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

Definition at line 44 of file TVirtualPadEditor.h.

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

Definition at line 45 of file TVirtualPadEditor.h.

Referenced by UpdateFillAttributes().

virtual TCanvas* TVirtualPadEditor::GetCanvas ( ) const
pure virtual
const char * TVirtualPadEditor::GetEditorName ( )
static

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

Definition at line 64 of file TVirtualPadEditor.cxx.

TVirtualPadEditor * TVirtualPadEditor::GetPadEditor ( Bool_t  load = kTRUE)
static
virtual void TVirtualPadEditor::Hide ( )
inlinevirtual
void TVirtualPadEditor::HideEditor ( )
static

Hide the pad editor. Static method.

Definition at line 107 of file TVirtualPadEditor.cxx.

virtual Bool_t TVirtualPadEditor::IsGlobal ( ) const
pure virtual

Implemented in TGedEditor.

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

Definition at line 46 of file TVirtualPadEditor.h.

Referenced by UpdateLineAttributes().

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 45 of file TVirtualPadEditor.cxx.

Referenced by TRootCanvas::CreateEditor(), and GetPadEditor().

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

Definition at line 47 of file TVirtualPadEditor.h.

Referenced by UpdateMarkerAttributes().

virtual void TVirtualPadEditor::SetGlobal ( Bool_t  )
inlinevirtual

Reimplemented in TGedEditor.

Definition at line 54 of file TVirtualPadEditor.h.

Referenced by TRootCanvas::CreateEditor(), ShowEditor(), and TRootCanvas::ShowEditor().

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

Set type of default pad editor. Static method.

Definition at line 83 of file TVirtualPadEditor.cxx.

virtual void TVirtualPadEditor::Show ( )
inlinevirtual
void TVirtualPadEditor::ShowEditor ( )
static

Show the global pad editor. Static method.

Definition at line 94 of file TVirtualPadEditor.cxx.

Referenced by TGeoPainter::EditGeometry(), UpdateFillAttributes(), UpdateLineAttributes(), UpdateMarkerAttributes(), and UpdateTextAttributes().

void TVirtualPadEditor::Terminate ( void  )
static

Close the global pad editor. Static method.

Definition at line 116 of file TVirtualPadEditor.cxx.

Referenced by TRootBrowser::CloseTabs(), TGedEditor::GlobalClosed(), and TRootCanvas::ProcessMessage().

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

Definition at line 48 of file TVirtualPadEditor.h.

Referenced by UpdateTextAttributes().

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

Update fill attributes via the pad editor.

Definition at line 127 of file TVirtualPadEditor.cxx.

Referenced by TAttFill::SetFillAttributes().

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

Update line attributes via the pad editor.

Definition at line 150 of file TVirtualPadEditor.cxx.

Referenced by TAttLine::SetLineAttributes().

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

Update marker attributes via the pad editor.

Definition at line 162 of file TVirtualPadEditor.cxx.

Referenced by TAttMarker::SetMarkerAttributes().

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 138 of file TVirtualPadEditor.cxx.

Referenced by TAttText::SetTextAttributes().

Member Data Documentation

TString TVirtualPadEditor::fgEditorName = ""
staticprotected

Definition at line 33 of file TVirtualPadEditor.h.

Referenced by GetEditorName(), LoadEditor(), and SetPadEditorName().

TVirtualPadEditor * TVirtualPadEditor::fgPadEditor = 0
staticprotected

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