Base class for drawable entities: objects that can be painted on a RPad.
- Authors
- Axel Naumann axel@.nosp@m.cern.nosp@m..ch, Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
- Date
- 2015-08-07
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
Definition at line 108 of file RDrawable.hxx.
|
| RAttrMap | fAttr |
| | attributes values
|
| std::string | fCssClass |
| | user-defined CSS class, used for RStyle
|
| const char * | fCssType {nullptr} |
| | ! drawable type, not stored in the root file, must be initialized in constructor
|
| std::string | fId |
| | user-defined CSS id, used for RStyle
|
| std::weak_ptr< RStyle > | fStyle |
| | ! style applied for RDrawable, not stored when canvas is saved
|
| Version_t | fVersion {1} |
| | ! drawable version, changed from the canvas
|
#include <ROOT/RDrawable.hxx>
◆ Version_t
◆ RDrawable() [1/2]
| ROOT::Experimental::RDrawable::RDrawable |
( |
const RDrawable & | | ) |
|
|
protecteddelete |
◆ RDrawable() [2/2]
| ROOT::Experimental::RDrawable::RDrawable |
( |
const char * | csstype | ) |
|
|
inlineexplicit |
◆ ~RDrawable()
| RDrawable::~RDrawable |
( |
| ) |
|
|
virtualdefault |
◆ ClearStyle()
| void ROOT::Experimental::RDrawable::ClearStyle |
( |
| ) |
|
|
inline |
◆ CollectShared()
◆ Display()
◆ Execute()
| void RDrawable::Execute |
( |
const std::string & | exec | ) |
|
|
protectedvirtual |
◆ GetAttrMap() [1/2]
| RAttrMap & ROOT::Experimental::RDrawable::GetAttrMap |
( |
| ) |
|
|
inlineprotected |
◆ GetAttrMap() [2/2]
| const RAttrMap & ROOT::Experimental::RDrawable::GetAttrMap |
( |
| ) |
const |
|
inlineprotected |
◆ GetCssClass()
| const std::string & ROOT::Experimental::RDrawable::GetCssClass |
( |
| ) |
const |
|
inline |
◆ GetCssType()
| const char * ROOT::Experimental::RDrawable::GetCssType |
( |
| ) |
const |
|
inline |
◆ GetId()
| const std::string & ROOT::Experimental::RDrawable::GetId |
( |
| ) |
const |
|
inline |
◆ GetVersion()
| Version_t ROOT::Experimental::RDrawable::GetVersion |
( |
| ) |
const |
|
inlineprotected |
◆ IsFrameRequired()
| virtual bool ROOT::Experimental::RDrawable::IsFrameRequired |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ MatchSelector()
| bool RDrawable::MatchSelector |
( |
const std::string & | selector | ) |
const |
|
protected |
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.
Definition at line 59 of file RDrawable.cxx.
◆ OnDisplayItemDestroyed()
| virtual void ROOT::Experimental::RDrawable::OnDisplayItemDestroyed |
( |
RDisplayItem * | | ) |
const |
|
inlineprotectedvirtual |
◆ operator=()
◆ PopulateMenu()
| void RDrawable::PopulateMenu |
( |
RMenuItems & | items | ) |
|
|
protectedvirtual |
◆ SetCssClass()
| void ROOT::Experimental::RDrawable::SetCssClass |
( |
const std::string & | cl | ) |
|
|
inline |
◆ SetCssType()
| void ROOT::Experimental::RDrawable::SetCssType |
( |
const char * | csstype | ) |
|
|
inlineprotected |
◆ SetDrawableVersion()
| virtual void ROOT::Experimental::RDrawable::SetDrawableVersion |
( |
Version_t | vers | ) |
|
|
inlineprotectedvirtual |
◆ SetId()
| void ROOT::Experimental::RDrawable::SetId |
( |
const std::string & | id | ) |
|
|
inline |
◆ UseStyle()
| virtual void ROOT::Experimental::RDrawable::UseStyle |
( |
const std::shared_ptr< RStyle > & | style | ) |
|
|
inlinevirtual |
◆ RAttrBase
◆ RCanvas
◆ RChangeAttrRequest
| friend class RChangeAttrRequest |
|
friend |
◆ RDrawableDisplayItem
| friend class RDrawableDisplayItem |
|
friend |
◆ RDrawableExecRequest
| friend class RDrawableExecRequest |
|
friend |
◆ RDrawableMenuRequest
| friend class RDrawableMenuRequest |
|
friend |
◆ RIndirectDisplayItem
| friend class RIndirectDisplayItem |
|
friend |
◆ RLegend
◆ RPadBase
◆ RStyle
◆ fAttr
| RAttrMap ROOT::Experimental::RDrawable::fAttr |
|
private |
◆ fCssClass
| std::string ROOT::Experimental::RDrawable::fCssClass |
|
private |
user-defined CSS class, used for RStyle
Definition at line 175 of file RDrawable.hxx.
◆ fCssType
| const char* ROOT::Experimental::RDrawable::fCssType {nullptr} |
|
private |
! drawable type, not stored in the root file, must be initialized in constructor
Definition at line 174 of file RDrawable.hxx.
◆ fId
| std::string ROOT::Experimental::RDrawable::fId |
|
private |
user-defined CSS id, used for RStyle
Definition at line 176 of file RDrawable.hxx.
◆ fStyle
| std::weak_ptr<RStyle> ROOT::Experimental::RDrawable::fStyle |
|
private |
! style applied for RDrawable, not stored when canvas is saved
Definition at line 173 of file RDrawable.hxx.
◆ fVersion
| Version_t ROOT::Experimental::RDrawable::fVersion {1} |
|
private |
! drawable version, changed from the canvas
Definition at line 177 of file RDrawable.hxx.
The documentation for this class was generated from the following files: