rwlogo

Rogue Wave Views
Charts Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvCoordinateInfoListener Class Reference

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...
 

Detailed Description

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.

See Also
IlvCoordinateInfo.

Constructor & Destructor Documentation

IlvCoordinateInfoListener::IlvCoordinateInfoListener ( )

Constructor.

Initializes a new IlvCoordinateInfoListener object.

Member Function Documentation

virtual IlBoolean IlvCoordinateInfoListener::rangeChanged ( IlvCoordinateInfo coordInfo,
const IlvCoordInterval oldRange 
)
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. This method returns IlTrue if the new range is modified by the current method and IlFalse otherwise.

Parameters
coordInfoThe coordinate information that is modified.
oldRangeThe old range of the coordinate.
Returns
IlFalse by default.
Warning
[note] This method just returns IlFalse at this level of the class hierarchy since this class does not store the object that uses the coordinate information object.
virtual void IlvCoordinateInfoListener::transformerChanged ( IlvCoordinateInfo coordInfo,
const IlvCoordinateTransformer old 
)
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.

Parameters
coordInfoThe coordinate information that is modified.
oldThe old transformer applied to the coordinate.
Warning
[note] This method does nothing at this level of the class hierarchy since this class does not store the object that uses the coordinate information object.

© Copyright 2014, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.