rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Manager Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions | Public Attributes
IlvManagerObjectLayerMessage Class Reference

Manager message class used when changing the layer of a graphic object. More...

#include <ilviews/manager/observer.h>

Inheritance diagram for IlvManagerObjectLayerMessage:
IlvManagerContentsMessage IlvManagerObjectMessage IlvManagerMessage

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
IlvGraphicgetObject () 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...
 

Detailed Description

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.

Constructor & Destructor Documentation

IlvManagerObjectLayerMessage::IlvManagerObjectLayerMessage ( IlvGraphic obj,
int  newLayer,
int  oldLayer = -1 
)

Constructor.

Sets the message type to IlvMgrMsgObjectLayer.

Parameters
objThe graphic object.
newLayerThe index of the new manager layer.
oldLayerThe index of the previous manager layer.

Member Data Documentation

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