rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Charts Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvChartDisplayerFactory Class Reference

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

#include <ilviews/charts/display.h>

List of all members.

Public Member Functions

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

Protected Member Functions

 IlvChartDisplayerFactory ()
 Constructor.

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:
parent The composite displayer for which we want to create a displayer.
idx The index at which the created displayer will be added later to the collection of displayers that compose the composite displayer parent.
palette The palette (if any) that will be used by the created displayer.
Returns:
A pointer to the created displayer.

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