rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Grapher Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvMakeNodeInteractorFactory Class Reference

Factory to create nodes. More...

#include <ilviews/grapher/inters.h>

List of all members.

Public Member Functions

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

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:
mgr The manager to which the node will be added.
size The size of the graphic to create.
Returns:
The created graphic object.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends

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