Rogue Wave Views
Grapher Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvRemoveNodeCommand Class Reference

Grapher command class. More...

#include <ilviews/grapher/commands.h>

Inheritance diagram for IlvRemoveNodeCommand:
IlvManagerCommand IlvCommand IlvAction

Public Member Functions

 IlvRemoveNodeCommand (IlvManager *grapher, IlvGraphic *obj, int layer=0)
 Constructor. More...
 

Detailed Description

Grapher command class.

Library: ilvgrapher

The class IlvRemoveNodeCommand is a subclass of IlvManagerCommand. IlvRemoveNodeCommand must be instantiated once a node object has been remove to an IlvGrapher. The IlvGrapher class inherits from IlvManager to record the modification and make it possible to undo or redo it.
This class is provided for compatibility purposes only.

Constructor & Destructor Documentation

IlvRemoveNodeCommand::IlvRemoveNodeCommand ( IlvManager grapher,
IlvGraphic obj,
int  layer = 0 
)

Constructor.

Parameters
grapherThe grapher from which the object and command are removed.
objThe removed node object. This object will be added again when the command is undone. It is added if the command is deleted. It is considered as not executed if it has not been added to a command history.
layerThe layer from which the object is removed.

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