ROOT
6.06/09
Reference Guide
|
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 TCanvas * | GetCanvas () const =0 |
Static Public Member Functions | |
static const char * | GetEditorName () |
Returns the type of the default pad editor. Static method. More... | |
static TVirtualPadEditor * | GetPadEditor (Bool_t load=kTRUE) |
Returns the pad editor dialog. Static method. More... | |
static TVirtualPadEditor * | LoadEditor () |
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 TVirtualPadEditor * | fgPadEditor = 0 |
static TString | fgEditorName = "" |
#include <TVirtualPadEditor.h>
TVirtualPadEditor::TVirtualPadEditor | ( | ) |
|
virtual |
Virtual editor dtor.
Definition at line 36 of file TVirtualPadEditor.cxx.
|
inlinevirtual |
Definition at line 50 of file TVirtualPadEditor.h.
|
inlinevirtual |
Definition at line 53 of file TVirtualPadEditor.h.
|
inlinevirtual |
Definition at line 41 of file TVirtualPadEditor.h.
|
inlinevirtual |
Definition at line 42 of file TVirtualPadEditor.h.
Definition at line 43 of file TVirtualPadEditor.h.
Definition at line 44 of file TVirtualPadEditor.h.
Definition at line 45 of file TVirtualPadEditor.h.
Referenced by UpdateFillAttributes().
|
pure virtual |
Implemented in TGedEditor.
Referenced by TRootCanvas::Close(), TRootCanvas::ReallyDelete(), and TRootCanvas::ShowEditor().
|
static |
Returns the type of the default pad editor. Static method.
Definition at line 64 of file TVirtualPadEditor.cxx.
|
static |
Returns the pad editor dialog. Static method.
Definition at line 72 of file TVirtualPadEditor.cxx.
Referenced by TRootCanvas::Activated(), TGFileBrowser::Clicked(), TRootCanvas::Close(), THistPainter::DrawPanel(), TGraphPainter::DrawPanelHelper(), TCanvas::EditorBar(), TRootCanvas::ProcessMessage(), TRootCanvas::ReallyDelete(), ShowEditor(), TRootCanvas::ShowEditor(), and TGFileBrowser::Update().
|
inlinevirtual |
Reimplemented in TGedEditor.
Definition at line 52 of file TVirtualPadEditor.h.
Referenced by TRootCanvas::Close(), HideEditor(), TRootCanvas::ReallyDelete(), and TRootCanvas::ShowEditor().
|
static |
Hide the pad editor. Static method.
Definition at line 107 of file TVirtualPadEditor.cxx.
|
pure virtual |
Implemented in TGedEditor.
Definition at line 46 of file TVirtualPadEditor.h.
Referenced by UpdateLineAttributes().
|
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().
Definition at line 47 of file TVirtualPadEditor.h.
Referenced by UpdateMarkerAttributes().
Reimplemented in TGedEditor.
Definition at line 54 of file TVirtualPadEditor.h.
Referenced by TRootCanvas::CreateEditor(), ShowEditor(), and TRootCanvas::ShowEditor().
|
static |
Set type of default pad editor. Static method.
Definition at line 83 of file TVirtualPadEditor.cxx.
|
inlinevirtual |
Reimplemented in TGedEditor.
Definition at line 51 of file TVirtualPadEditor.h.
Referenced by THistPainter::DrawPanel(), TGraphPainter::DrawPanelHelper(), ShowEditor(), and TRootCanvas::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().
Close the global pad editor. Static method.
Definition at line 116 of file TVirtualPadEditor.cxx.
Referenced by TRootBrowser::CloseTabs(), TGedEditor::GlobalClosed(), and TRootCanvas::ProcessMessage().
|
inlinevirtual |
Definition at line 48 of file TVirtualPadEditor.h.
Referenced by UpdateTextAttributes().
Update fill attributes via the pad editor.
Definition at line 127 of file TVirtualPadEditor.cxx.
Referenced by TAttFill::SetFillAttributes().
Update line attributes via the pad editor.
Definition at line 150 of file TVirtualPadEditor.cxx.
Referenced by TAttLine::SetLineAttributes().
Update marker attributes via the pad editor.
Definition at line 162 of file TVirtualPadEditor.cxx.
Referenced by TAttMarker::SetMarkerAttributes().
|
static |
Update text attributes via the pad editor.
Definition at line 138 of file TVirtualPadEditor.cxx.
Referenced by TAttText::SetTextAttributes().
|
staticprotected |
Definition at line 33 of file TVirtualPadEditor.h.
Referenced by GetEditorName(), LoadEditor(), and SetPadEditorName().
|
staticprotected |
Definition at line 32 of file TVirtualPadEditor.h.
Referenced by GetPadEditor(), HideEditor(), SetPadEditorName(), ShowEditor(), Terminate(), UpdateFillAttributes(), UpdateLineAttributes(), UpdateMarkerAttributes(), and UpdateTextAttributes().