rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Charts Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvCoordinateInfoListener Class Reference

Abstract base class for coordinate information listeners. More...

#include <ilviews/charts/common.h>

List of all members.

Public Member Functions

 IlvCoordinateInfoListener ()
 Constructor.
virtual IlBoolean rangeChanged (IlvCoordinateInfo *coordInfo, const IlvCoordInterval &oldRange)
 Performs the necessary updates when the range of a coordinate is changed.
virtual void transformerChanged (IlvCoordinateInfo *coordInfo, const IlvCoordinateTransformer *old)
 Performs the necessary updates when the range of a coordinate is changed.

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:
coordInfo The coordinate information that is modified.
oldRange The 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:
coordInfo The coordinate information that is modified.
old The 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 2012, 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.