Rogue Wave Views Manager Package API Reference Guide |
Rogue Wave Views Documentation Home |
Manager message class used when changing the layer of a graphic object. More...
#include <ilviews/manager/observer.h>
Public Member Functions | |
IlvManagerObjectLayerMessage (IlvGraphic *obj, int newLayer, int oldLayer=-1) | |
Constructor. More... | |
Public Member Functions inherited from IlvManagerContentsMessage | |
IlvManagerContentsMessage (IlUInt reason, IlvGraphic *obj, int layer=-1, IlUInt mask=0x00000008) | |
Constructor. More... | |
Public Member Functions inherited from IlvManagerObjectMessage | |
IlvGraphic * | getObject () const |
Returns the graphic object. More... | |
Public Member Functions inherited from IlvManagerMessage | |
IlvManagerMessage (IlUInt reason, IlUInt mask, IlAny data=0) | |
Constructor. More... | |
Public Attributes | |
int | _oldLayer |
The index of the previous layer. More... | |
Public Attributes inherited from IlvManagerContentsMessage | |
int | _layer |
The index of the manager layer. More... | |
Public Attributes inherited from IlvManagerMessage | |
IlAny | _data |
Additional message information. More... | |
IlUInt | _mask |
Message mask (or message category). More... | |
IlUInt | _reason |
Message type. More... | |
Manager message class used when changing the layer of a graphic object.
Library: ilvmgr
This message class is used in the member function IlvManager::setLayer
. The message category is always set to IlvMgrMsgObjectLayer
.
IlvManagerObjectLayerMessage::IlvManagerObjectLayerMessage | ( | IlvGraphic * | obj, |
int | newLayer, | ||
int | oldLayer = -1 |
||
) |
Constructor.
Sets the message type to IlvMgrMsgObjectLayer
.
obj | The graphic object. |
newLayer | The index of the new manager layer. |
oldLayer | The index of the previous manager layer. |
int IlvManagerObjectLayerMessage::_oldLayer |
The index of the previous layer.
The index of the manager layer where the graphic object was stored before the notification.
© 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.