Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Manager interactor class. More...
#include <ilviews/manager/mkrectin.h>
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. |
Manager interactor class.
Library: ilvmgr
Use this class allow the user to create an IlvRectangle
object.
IlvManager
, IlvRectangle
, IlvMakeReliefRectangleInteractor
, IlvMakeReliefDiamondInteractor
, IlvMakeRoundRectangleInteractor
, IlvMakeEllipseInteractor
, IlvMakeBitmapInteractor
. IlvMakeRectangleInteractor::IlvMakeRectangleInteractor | ( | IlvManager * | manager, | |
IlvView * | view | |||
) |
Constructor.
The constructor initializes a new instance of the IlvMakeRectangleInteractor
class.
manager | The manager. | |
view | The manager view. |
void IlvMakeRectangleInteractor::addRectangle | ( | IlvGraphic * | graphic | ) |
Adds a graphic object to the manager.
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
.
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.