9#ifndef ROOT7_Browsable_RWrapper
10#define ROOT7_Browsable_RWrapper
16namespace Experimental {
29 std::shared_ptr<RElement>
fElem;
49 std::string
GetContent(
const std::string &kind =
"text")
override {
return fElem->GetContent(kind); }
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Basic element of browsable hierarchy.
EActionKind
Possible actions on double-click.
Wrapper for other element - to provide different name.
void SetExpandByDefault(bool on=true)
std::unique_ptr< RLevelIter > GetChildsIter() override
Create iterator for childs elements if any.
EActionKind GetDefaultAction() const override
Get default action.
std::string GetTitle() const override
Title of element (optional)
bool IsExpandByDefault() const override
Should item representing element be expand by default.
std::string GetName() const override
Name of element, must be provided in derived classes.
std::string GetContent(const std::string &kind="text") override
Returns element content, depends from kind.
std::shared_ptr< RElement > fElem
bool IsCapable(EActionKind action) const override
Check if want to perform action.
virtual ~RWrapper()=default
std::unique_ptr< RHolder > GetObject() override
Access object.
RWrapper(const std::string &name, std::shared_ptr< RElement > elem)
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.