Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RAxisLabelsDrawable Class Reference

Labels axis drawing.

Author
Sergey Linev S.Lin.nosp@m.ev@g.nosp@m.si.de
Date
2020-11-03
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 100 of file RAxisDrawable.hxx.

Public Member Functions

 RAxisLabelsDrawable ()=default
 
 RAxisLabelsDrawable (const RPadPos &pos, bool vertical, const RPadLength &len)
 
const std::vector< std::string > & GetLabels () const
 
RAxisLabelsDrawableSetLabels (const std::vector< std::string > &lbls)
 
- Public Member Functions inherited from ROOT::Experimental::RAxisDrawableBase
 RAxisDrawableBase ()
 
 RAxisDrawableBase (const RPadPos &pos, bool vertical, const RPadLength &len)
 
RAttrAxisAttrAxis ()
 
const RAttrAxisGetAttrAxis () const
 
const RPadLengthGetLength () const
 
const RPadPosGetPos () const
 
bool IsVertical () const
 
RAxisDrawableBaseSetAttrAxis (const RAttrAxis &attr)
 
RAxisDrawableBaseSetLength (const RPadLength &len)
 
RAxisDrawableBaseSetPos (const RPadPos &pos)
 
RAxisDrawableBaseSetVertical (bool vertical=true)
 
- Public Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const std::string &type)
 
virtual ~RDrawable ()
 
void ClearStyle ()
 
const std::string & GetCssClass () const
 
const std::string & GetCssType () const
 
const std::string & GetId () const
 
void SetCssClass (const std::string &cl)
 
void SetId (const std::string &id)
 
virtual void UseStyle (const std::shared_ptr< RStyle > &style)
 

Private Attributes

std::vector< std::string > fLabels
 axis labels
 

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::RDrawable
using Version_t = uint64_t
 
- Protected Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const RDrawable &)=delete
 
virtual void CollectShared (Internal::RIOSharedVector_t &)
 
virtual std::unique_ptr< RDisplayItemDisplay (const RDisplayContext &)
 Creates display item for drawable By default item contains drawable data itself.
 
virtual void Execute (const std::string &)
 
RAttrMapGetAttrMap ()
 
const RAttrMapGetAttrMap () const
 
Version_t GetVersion () const
 
virtual bool IsFrameRequired () 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.
 
virtual void OnDisplayItemDestroyed (RDisplayItem *) const
 
RDrawableoperator= (const RDrawable &)=delete
 
virtual void PopulateMenu (RMenuItems &)
 
virtual void SetDrawableVersion (Version_t vers)
 

#include <ROOT/RAxisDrawable.hxx>

Inheritance diagram for ROOT::Experimental::RAxisLabelsDrawable:
[legend]

Constructor & Destructor Documentation

◆ RAxisLabelsDrawable() [1/2]

ROOT::Experimental::RAxisLabelsDrawable::RAxisLabelsDrawable ( )
default

◆ RAxisLabelsDrawable() [2/2]

ROOT::Experimental::RAxisLabelsDrawable::RAxisLabelsDrawable ( const RPadPos pos,
bool  vertical,
const RPadLength len 
)
inline

Definition at line 108 of file RAxisDrawable.hxx.

Member Function Documentation

◆ GetLabels()

const std::vector< std::string > & ROOT::Experimental::RAxisLabelsDrawable::GetLabels ( ) const
inline

Definition at line 111 of file RAxisDrawable.hxx.

◆ SetLabels()

RAxisLabelsDrawable & ROOT::Experimental::RAxisLabelsDrawable::SetLabels ( const std::vector< std::string > &  lbls)
inline

Definition at line 110 of file RAxisDrawable.hxx.

Member Data Documentation

◆ fLabels

std::vector<std::string> ROOT::Experimental::RAxisLabelsDrawable::fLabels
private

axis labels

Definition at line 102 of file RAxisDrawable.hxx.

Libraries for ROOT::Experimental::RAxisLabelsDrawable:

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