Abstract base class for coordinate information listeners. More...
#include <ilviews/charts/common.h>
Public Member Functions | |
IlvCoordinateInfoListener () | |
Constructor. More... | |
virtual IlBoolean | rangeChanged (IlvCoordinateInfo *coordInfo, const IlvCoordInterval &oldRange) |
Performs the necessary updates when the range of a coordinate is changed. More... | |
virtual void | transformerChanged (IlvCoordinateInfo *coordInfo, const IlvCoordinateTransformer *old) |
Performs the necessary updates when the range of a coordinate is changed. More... | |
Abstract base class for coordinate information listeners.
Library: ilvcharts
This class is the main class used to propagate all modifications that are made to a coordinate information object to a given object that uses the coordinate information object. This is the case, for example, for the scale displayers that use a coordinate information object to store information about the coordinate they display.
This class must be subclassed in order to specify the object to which the modifications of the coordinate information object must be propagated and to implement the changes that must be applied to the object when the coordinate information object is modified. For this reason, the constructor of this class is defined as protected since an instance of this class is never created directly.
IlvCoordinateInfo
. IlvCoordinateInfoListener::IlvCoordinateInfoListener | ( | ) |
Constructor.
Initializes a new IlvCoordinateInfoListener
object.
|
virtual |
Performs the necessary updates when the range of a coordinate is changed.
Performs the required updates for the object that uses a coordinate information object when the range of the coordinate is changed.
coordInfo | The coordinate information that is modified. |
oldRange | The old range of the coordinate. |
IlTrue
if the new range is modified by the current method and IlFalse
otherwise. The default implementation returns IlFalse
.IlFalse
at this level of the class hierarchy since this class does not store the object that uses the coordinate information object.
|
virtual |
Performs the necessary updates when the range of a coordinate is changed.
Performs the required updates for the object that uses a coordinate information object when the transformer applied to the coordinate is changed.
coordInfo | The coordinate information that is modified. |
old | The old transformer applied to the coordinate. |