rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Manager Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvMakeRectangleInteractor Class Reference

Manager interactor class. More...

#include <ilviews/manager/mkrectin.h>

Inheritance diagram for IlvMakeRectangleInteractor:
IlvDragRectangleInteractor IlvManagerViewInteractor IlvMakeFilledRectangleInteractor IlvMakeObjectInteractor

List of all members.

Public Member Functions

 IlvMakeRectangleInteractor (IlvManager *manager, IlvView *view)
 Constructor.
void addRectangle (IlvGraphic *graphic)
 Adds a graphic object to the manager.
virtual void doIt (IlvRect &rect)
 Finalizes the interaction by creating an IlvRectangle object.

Detailed Description

Manager interactor class.

Library: ilvmgr

Use this class allow the user to create an IlvRectangle object.

See also:
IlvManager, IlvRectangle, IlvMakeReliefRectangleInteractor, IlvMakeReliefDiamondInteractor, IlvMakeRoundRectangleInteractor, IlvMakeEllipseInteractor, IlvMakeBitmapInteractor.

Constructor & Destructor Documentation

IlvMakeRectangleInteractor::IlvMakeRectangleInteractor ( IlvManager manager,
IlvView view 
)

Constructor.

The constructor initializes a new instance of the IlvMakeRectangleInteractor class.

Parameters:
manager The manager.
view The manager view.

Member Function Documentation

void IlvMakeRectangleInteractor::addRectangle ( IlvGraphic graphic  ) 

Adds a graphic object to the manager.

Parameters:
graphic The graphic object.
virtual void IlvMakeRectangleInteractor::doIt ( IlvRect rect  )  [virtual]

Finalizes the interaction by creating an IlvRectangle object.

Creates a new IlvRectangle object in the manager from the rectangle provided during the interaction. The creation is made with the function addRectangle.

Parameters:
rect The rectangle.

Reimplemented from IlvDragRectangleInteractor.

Reimplemented in IlvMakeFilledRectangleInteractor, and IlvMakeObjectInteractor.


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