#include <CurveCollection.h>

Public Member Functions | |
| virtual Curve * | addCurve ()=0 |
| virtual const std::vector < Curve * > & | getCurves () const =0 |
| virtual unsigned int | getNumCurves () const =0 |
| virtual bool | deleteCurve (Curve *pCurve)=0 |
| virtual void | clear ()=0 |
| virtual void | setColor (const ColorType &collectionColor)=0 |
| virtual ColorType | getColor () const =0 |
| virtual void | setLineWidth (int iWidth)=0 |
| virtual int | getLineWidth () const =0 |
| virtual void | setLineStyle (const LineStyle &lineStyle)=0 |
| virtual LineStyle | getLineStyle () const =0 |
Static Public Member Functions | |
| static const std::string & | signalCurveAdded () |
| static const std::string & | signalCurveDeleted () |
Protected Member Functions | |
| virtual | ~CurveCollection () |
This subclass of Subject will notify upon the following conditions:
Definition at line 34 of file CurveCollection.h.
| virtual CurveCollection::~CurveCollection | ( | ) | [protected, virtual] |
This should be destroyed by calling PlotView::deleteObject.
Definition at line 168 of file CurveCollection.h.
| static const std::string& CurveCollection::signalCurveAdded | ( | ) | [static] |
| static const std::string& CurveCollection::signalCurveDeleted | ( | ) | [static] |
| virtual Curve* CurveCollection::addCurve | ( | ) | [pure virtual] |
Adds a curve to the collection.
| virtual const std::vector<Curve*>& CurveCollection::getCurves | ( | ) | const [pure virtual] |
Retrieves all curves in the collection.
| virtual unsigned int CurveCollection::getNumCurves | ( | ) | const [pure virtual] |
Returns the number of curves in the collection.
| virtual bool CurveCollection::deleteCurve | ( | Curve * | pCurve | ) | [pure virtual] |
Removes a curve from the collection and deletes it.
| pCurve | The curve to delete. Cannot be NULL. |
| virtual void CurveCollection::clear | ( | ) | [pure virtual] |
Removes all curves from the collection and deletes them.
| virtual void CurveCollection::setColor | ( | const ColorType & | collectionColor | ) | [pure virtual] |
Sets the color of all curves in the collection.
This method applies a single color to all curves in the collection. The color of a single curve can also be changed directly on the Curve.
| collectionColor | The new curve color. |
| virtual ColorType CurveCollection::getColor | ( | ) | const [pure virtual] |
Returns the color of the curves in the collection.
| virtual void CurveCollection::setLineWidth | ( | int | iWidth | ) | [pure virtual] |
Sets the line width of all curves in the collection.
This method applies a single line width to all curves in the collection. The line width of a single curve can also be changed directly on the Curve.
| iWidth | The new curve line width. |
| virtual int CurveCollection::getLineWidth | ( | ) | const [pure virtual] |
Returns the line width of the curves in the collection.
| virtual void CurveCollection::setLineStyle | ( | const LineStyle & | lineStyle | ) | [pure virtual] |
Sets the line style of all curves in the collection.
This method applies a single line style to all curves in the collection. The line style of a single curve can also be changed directly on the Curve.
| lineStyle | The new curve line style. |
| virtual LineStyle CurveCollection::getLineStyle | ( | ) | const [pure virtual] |
Returns the line style of the curves in the collection.