rwlogo

Rogue Wave Views
Grapher Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator
List of all members | Public Member Functions
IlvMakeNodeInteractorFactory Class Referenceabstract

Factory to create nodes. More...

#include <ilviews/grapher/inters.h>

Public Member Functions

virtual IlvGraphiccreateNode (IlvManager *mgr, const IlvRect &rect) const =0
 Creates the node instance. More...
 

Detailed Description

Factory to create nodes.

Library: ilvgrapher

This class is designed to be used with the IlvMakeNodeInteractor class. It lets you specify what graphic instance should be created by the interactor.

See Also
IlvMakeNodeInteractor, IlvMakeNodeInteractor::setFactory()

Member Function Documentation

virtual IlvGraphic* IlvMakeNodeInteractorFactory::createNode ( IlvManager mgr,
const IlvRect rect 
) const
pure virtual

Creates the node instance.

Creates a node of size rect that will be added to the manager mgr. The palette of the new object can optionally be retrieved using the IlvManager::getCreatorPalette() method.

Parameters
mgrThe manager to which the node will be added.
rectThe size of the graphic to create.
Returns
The created graphic object.

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