Views
Grapher Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions | Protected Member Functions
IlvMakeShadowNodeInteractor Class Reference

Grapher interactor to create nodes drawn as shadow rectangles. More...

#include <ilviews/grapher/inters.h>

Inheritance diagram for IlvMakeShadowNodeInteractor:
IlvMakeNodeInteractor IlvDragRectangleInteractor IlvManagerViewInteractor IlvValueInterface

Public Member Functions

 IlvMakeShadowNodeInteractor (IlvManager *mgr, IlvView *v)
 Constructor. More...
 
- Public Member Functions inherited from IlvMakeNodeInteractor
 IlvMakeNodeInteractor (IlvManager *mgr, IlvView *v)
 Constructor. More...
 
virtual void doIt (IlvRect &rect)
 Creates and adds the node. More...
 
IlvMakeNodeInteractorFactorygetFactory () const
 Returns the node factory associated with the instance. More...
 
IlvMakeNodeInteractorFactorysetFactory (IlvMakeNodeInteractorFactory *factory)
 Changes the node factory associated with the instance. More...
 

Protected Member Functions

virtual IlvGraphiccreateNode (const IlvRect &rect)
 Creates a new node. More...
 

Detailed Description

Grapher interactor to create nodes drawn as shadow rectangles.

Library: ilvgrapher

Use this class to create an instance of IlvShadowLabel and store it as a node.

See also
IlvShadowLabel.

Constructor & Destructor Documentation

◆ IlvMakeShadowNodeInteractor()

IlvMakeShadowNodeInteractor::IlvMakeShadowNodeInteractor ( IlvManager mgr,
IlvView v 
)

Constructor.

The constructor initializes a new instance of the IlvMakeShadowNodeInteractorclass for the view v and the grapher mgr.

Parameters
mgrThe grapher to which the interactor is attached.
vThe view to which the interactor is attached.

Member Function Documentation

◆ createNode()

virtual IlvGraphic* IlvMakeShadowNodeInteractor::createNode ( const IlvRect rect)
protectedvirtual

Creates a new node.

Creates an instance of IlvShadowLabel.

Parameters
rectThe size of the new node, in manager coordinates.
Returns
The created graphic object.
See also
IlvMakeNodeInteractorFactory::createNode().

Reimplemented from IlvMakeNodeInteractor.