RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::ILineStyle Class Referenceabstract

Style for all lines (axis lines, legend box outlines, etc.) More...

#include <ILineStyle.h>

Inheritance diagram for AIDA::ILineStyle:
AIDA::IBrushStyle AIDA::IBaseStyle AIDA::ILineStyleROOT

Public Member Functions

virtual ~ILineStyle ()
 Destructor.
 
virtual std::vector< std::string > availableLineTypes () const =0
 Get list of line types supported by this implementation.
 
virtual std::string lineType () const =0
 Get line type currently in use.
 
virtual int thickness () const =0
 Get current line thickness.
 
virtual bool setLineType (const std::string &newLineType)=0
 Set current line type e.g. More...
 
virtual bool setThickness (int newThickness)=0
 Set thickness (exact meaning is implementation-dependent, but <0 means invisible). More...
 
- Public Member Functions inherited from AIDA::IBrushStyle
virtual ~IBrushStyle ()
 Destructor.
 
virtual std::vector< std::string > availableColors () const =0
 Get a list of the colours supported by this implementation.
 
virtual std::string color () const =0
 Current colour of this brush style.
 
virtual double opacity () const =0
 Current opacity (alpha) of this brush style.
 
virtual bool setColor (const std::string &newColor)=0
 Set current colour, e.g. More...
 
virtual bool setOpacity (double newOpacity)=0
 Set opacity (alpha), e.g. More...
 
- Public Member Functions inherited from AIDA::IBaseStyle
virtual ~IBaseStyle ()
 Destructor.
 
virtual void reset ()=0
 Return to original (construction time) state. More...
 
virtual bool setParameter (const std::string &paramName, const std::string &options="")=0
 Set a parameter. More...
 
virtual std::string parameterValue (const std::string &parameter) const =0
 Get value of a parameter. More...
 
virtual std::vector< std::string > availableParameters () const =0
 Get list of the available parameters (implementation-dependent)
 
virtual std::vector< std::string > availableParameterOptions (const std::string &paramName) const =0
 Get list of the available options for a given parameter (implementation-dependent).
 

Detailed Description

Style for all lines (axis lines, legend box outlines, etc.)

Author
The AIDA team (http://aida.freehep.org/)

Member Function Documentation

virtual bool AIDA::ILineStyle::setLineType ( const std::string &  newLineType)
pure virtual

Set current line type e.g.

"dotted".

Returns
false if line type not known to this implementation.

Implemented in AIDA::ILineStyleROOT.

virtual bool AIDA::ILineStyle::setThickness ( int  newThickness)
pure virtual

Set thickness (exact meaning is implementation-dependent, but <0 means invisible).

Returns
false if value not supported by this implementation.

Implemented in AIDA::ILineStyleROOT.


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