Provides v7 drawing facilities for TObject types (TGraph etc).
Definition at line 29 of file RObjectDrawable.hxx.
Public Member Functions | |
| RObjectDrawable () | |
| RObjectDrawable (const std::shared_ptr< TObject > &obj, const std::string &opt) | |
| void | Execute (const std::string &) final |
| Executes menu item. More... | |
| void | PopulateMenu (RMenuItems &) final |
| Fill menu items for the object. More... | |
Public Member Functions inherited from ROOT::Experimental::RDrawable | |
| RDrawable (const std::string &type) | |
| virtual | ~RDrawable () |
| void | ClearStyle () |
| virtual void | Execute (const std::string &) |
| const std::string & | GetCssClass () const |
| const std::string & | GetCssType () const |
| const std::string & | GetId () const |
| virtual void | PopulateMenu (RMenuItems &) |
| Method can be used to provide menu items for the drawn object. More... | |
| void | SetCssClass (const std::string &cl) |
| void | SetId (const std::string &id) |
| virtual void | UseStyle (const std::shared_ptr< RStyle > &style) |
Protected Member Functions | |
| void | CollectShared (Internal::RIOSharedVector_t &vect) final |
| std::unique_ptr< RDisplayItem > | Display () const override |
| Creates display item for drawable By default item contains drawble data itself. More... | |
Protected Member Functions inherited from ROOT::Experimental::RDrawable | |
| virtual void | CollectShared (Internal::RIOSharedVector_t &) |
| virtual std::unique_ptr< RDisplayItem > | Display () const |
| Creates display item for drawable By default item contains drawble data itself. More... | |
| RAttrMap & | GetAttrMap () |
| const RAttrMap & | GetAttrMap () const |
| bool | MatchSelector (const std::string &selector) const |
| Preliminary method which checks if drawable matches with given selector Following selector are allowed: "type" or "#id" or ".class_name" Here type is drawable kind like 'rect' or 'pad' id is drawable identifier, specified with RDrawable::SetId() method class_name is drawable class name, specified with RDrawable::SetCssClass() method. More... | |
Private Attributes | |
| Internal::RIOShared< TObject > | fObj |
| The object to be painted. More... | |
| std::string | fOpts |
| drawing options More... | |
#include <ROOT/RObjectDrawable.hxx>
|
inline |
Definition at line 42 of file RObjectDrawable.hxx.
|
inline |
Definition at line 44 of file RObjectDrawable.hxx.
|
inlinefinalprotectedvirtual |
Reimplemented from ROOT::Experimental::RDrawable.
Definition at line 37 of file RObjectDrawable.hxx.
|
overrideprotectedvirtual |
Creates display item for drawable By default item contains drawble data itself.
Reimplemented from ROOT::Experimental::RDrawable.
Definition at line 23 of file RObjectDrawable.cxx.
|
finalvirtual |
Executes menu item.
Reimplemented from ROOT::Experimental::RDrawable.
Definition at line 34 of file RObjectDrawable.cxx.
|
finalvirtual |
Fill menu items for the object.
Reimplemented from ROOT::Experimental::RDrawable.
Definition at line 28 of file RObjectDrawable.cxx.
|
private |
The object to be painted.
Definition at line 31 of file RObjectDrawable.hxx.
|
private |
drawing options
Definition at line 33 of file RObjectDrawable.hxx.