com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel Class Reference

Inheritance diagram for com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RandomTrendDataModel ()
 RandomTrendDataModel (double changePerPoint, int pointsPerUpdate, double positionAdvance, double startPosition, double startValue, double valueRange)
double getChangePerPoint ()
PointIterator getPointIterator ()
int getPointsPerUpdate ()
double getPositionAdvance ()
double getStartPosition ()
double getStartValue ()
double getValueRange ()
boolean hasNext ()
Point next ()
void setChangePerPoint (double newChangePerPoint)
void setPointsPerUpdate (int newPointsPerUpdate)
void setPositionAdvance (double newPositionAdvance)
void setStartPosition (double newStartPosition)
void setStartValue (double newStartValue)
void setValueRange (double newValueRange)

Private Attributes

int pointsPerUpdate = 1
double changePerPoint = 1.0
int index = 0
double startValue = 1.0
double startPosition = 0.0
double positionAdvance = 0.1
double valueRange = 5.0

Detailed Description

Insert the type's description here. Creation date: (8.8.2002 17:02:45)

Author:
:

Constructor & Destructor Documentation

com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::RandomTrendDataModel (  )  [inline]

RandomTrendDataModel constructor comment.

com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::RandomTrendDataModel ( double  changePerPoint,
int  pointsPerUpdate,
double  positionAdvance,
double  startPosition,
double  startValue,
double  valueRange 
) [inline]

Member Function Documentation

double com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::getChangePerPoint (  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:06:51)

Returns:
double

References changePerPoint.

PointIterator com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::getPointIterator (  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:02:45)

Returns:
si.ijs.anka.databush.utilities.PointIterator

Implements com::cosylab::gui::components::r2::chart::ChartDataModel.

References index.

int com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::getPointsPerUpdate (  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:06:51)

Returns:
int

References pointsPerUpdate.

double com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::getPositionAdvance (  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:11:24)

Returns:
double

References positionAdvance.

double com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::getStartPosition (  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:10:06)

Returns:
double

References startPosition.

double com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::getStartValue (  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:09:11)

Returns:
double

References startValue.

double com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::getValueRange (  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:40:10)

Returns:
double

References valueRange.

boolean com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::hasNext (  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:02:45)

Returns:
boolean

Implements com::cosylab::gui::components::r2::chart::PointIterator.

References index, and pointsPerUpdate.

Point com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::next (  )  [inline]
void com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::setChangePerPoint ( double  newChangePerPoint  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:06:51)

Parameters:
newChangePerPoint double

References changePerPoint.

void com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::setPointsPerUpdate ( int  newPointsPerUpdate  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:06:51)

Parameters:
newPointsPerUpdate int

References com::cosylab::gui::components::r2::chart::AbstractDataModel::pointCount, and pointsPerUpdate.

void com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::setPositionAdvance ( double  newPositionAdvance  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:11:24)

Parameters:
newPositionAdvance double

References positionAdvance.

void com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::setStartPosition ( double  newStartPosition  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:10:06)

Parameters:
newStartPosition double

References com::cosylab::gui::components::r2::chart::AbstractDataModel::point, startPosition, and com::cosylab::gui::components::r2::chart::Point::x.

void com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::setStartValue ( double  newStartValue  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:09:11)

Parameters:
newStartValue double

References com::cosylab::gui::components::r2::chart::AbstractDataModel::point, startValue, and com::cosylab::gui::components::r2::chart::Point::y.

void com::cosylab::gui::components::r2::chart::demo::RandomTrendDataModel::setValueRange ( double  newValueRange  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 17:40:10)

Parameters:
newValueRange double

References valueRange.


Member Data Documentation

Referenced by getPointIterator(), hasNext(), and next().

Referenced by getStartValue(), next(), and setStartValue().

Referenced by getValueRange(), next(), and setValueRange().


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

Generated by  doxygen 1.6.2