Rogue Wave Views
Manager Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members
IlvTranslateObjectCommand Class Reference

Manager command class. More...

#include <ilviews/manager/commands.h>

Inheritance diagram for IlvTranslateObjectCommand:
IlvManagerCommand IlvCommand IlvAction

Additional Inherited Members

- Public Member Functions inherited from IlvManagerCommand
 IlvManagerCommand (IlvManager *manager)
 Constructor. More...
 
IlvManagergetManager () const
 Returns the manager. More...
 

Detailed Description

Manager command class.

Library: ilvmgr

The class IlvTranslateObjectCommand is a subclass of IlvManagerCommand that must be instantiated to record that objects have been translated, and make it possible to undo the operation. It is provided for compatibility purposes only.
To move objects while recording value changes, we suggest that you use the changeValue methods, which are more generic, on the object.

IlvValue v[2];
v[0] = IlvValue("x", newX);
v[1] = IlvValue("y", newY);
myObject->changeValues(v, 2);

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