rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Manager Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvChangeLayerCommand Class Reference

Manager command class. More...

#include <ilviews/manager/commands.h>

Inheritance diagram for IlvChangeLayerCommand:
IlvManagerCommand IlvCommand IlvAction

List of all members.

Public Member Functions

 IlvChangeLayerCommand (IlvManager *m, int toLayer=0, IlUInt n=0, IlvGraphic *const *o=0, int *fromLayers=0, int *fromOrder=0)
 Constructor.

Detailed Description

Manager command class.

Library: ilvmgr

The class IlvChangeLayerCommand is a subclass of IlvManagerCommand that must be instantiated to record the modifications made to object layers and make it possible to undo or redo these modifications.


Constructor & Destructor Documentation

IlvChangeLayerCommand::IlvChangeLayerCommand ( IlvManager m,
int  toLayer = 0,
IlUInt  n = 0,
IlvGraphic *const *  o = 0,
int *  fromLayers = 0,
int *  fromOrder = 0 
)

Constructor.

Parameters:
m The manager to which the command is added.
toLayer The layer to which the objects are moved.
n The number of objects to be moved. If this number is 0, the selected objects will be moved.
o The objects to be moved (if different from 0).
fromLayers If different from 0, the command is considered to have been executed, and this array contains the values of the layers to which the objects belonged before the move. However, it is easier to leave this parameter to 0 and let the execute method of the command determine the state to be recorded before executing the command.
fromOrder If different from 0, the command is considered to have been executed, and this array contains the initial order of the moved objects in each layer. However, it is easier to leave this parameter to 0 and let the execute method of the command determine the state to be recorded before executing the command.

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