Rogue Wave Views
Charts Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions | Protected Member Functions
IlvChartDisplayerFactory Class Referenceabstract

Factory to create displayers that compose a composite displayer. More...

#include <ilviews/charts/display.h>

Public Member Functions

virtual IlvChartDisplayerFactorycopy () const =0
 Virtual copy constructor. More...
 
virtual IlvAbstractChartDisplayercreateDisplayer (IlvCompositeChartDisplayer *parent, IlUInt idx, IlvPalette *palette=0)=0
 Creates one of the displayers that compose a given composite displayer. More...
 

Protected Member Functions

 IlvChartDisplayerFactory ()
 Constructor. More...
 

Detailed Description

Factory to create displayers that compose a composite displayer.

Library: ilvcharts

This abstract class is used to define the displayers that will be created to compose a given composite displayer.

This class creates no displayers. It must be subclassed in order to implement the creation of displayers that you want.

See also
IlvCompositeChartDisplayer.

Constructor & Destructor Documentation

IlvChartDisplayerFactory::IlvChartDisplayerFactory ( )
protected

Constructor.

Initializes a new IlvChartDisplayerFactory instance.

Member Function Documentation

virtual IlvChartDisplayerFactory* IlvChartDisplayerFactory::copy ( ) const
pure virtual

Virtual copy constructor.

Creates and returns a copy of the current object. This method must be overloaded in subclasses.

Returns
A copy of the current object.
virtual IlvAbstractChartDisplayer* IlvChartDisplayerFactory::createDisplayer ( IlvCompositeChartDisplayer parent,
IlUInt  idx,
IlvPalette palette = 0 
)
pure virtual

Creates one of the displayers that compose a given composite displayer.

Creates the displayer that will be added later at the index idx to the collection of displayers that compose the composite displayer parent and returns it.

Parameters
parentThe composite displayer for which we want to create a displayer.
idxThe index at which the created displayer will be added later to the collection of displayers that compose the composite displayer parent.
paletteThe palette (if any) that will be used by the created displayer.
Returns
A pointer to the created displayer.

© Copyright 2016, 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.