Rogue Wave Views
Data Access Package API Reference Guide
Product Documentation:

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

Table class. More...

#include <ilviews/dataccess/tblprop.h>

Public Member Functions

 IliTablePropertyObserver ()
 Constructs a table property observer.
 
virtual ~IliTablePropertyObserver ()
 Destructor. More...
 
virtual void propertyRemoved (IliTablePropertyManager *propMgr, IlInt rowno, IlInt colno, const IlvSymbol *propName)
 Called when a property is removed. More...
 
virtual void propertySet (IliTablePropertyManager *propMgr, IlInt rowno, IlInt colno, const IlvSymbol *propName)
 Called when a property is set. More...
 

Detailed Description

Table class.

Library: dataccess

The IliTablePropertyObserver class can be used to monitor updates undergone by an IliTablePropertyManager. This is achieved by subclassing this class and overriding one or more of its virtual member functions. An instance of this subclass can then be given to the addObserver() member function of the IliTablePropertyManager class.

See also
IliTablePropertyManager.

Constructor & Destructor Documentation

virtual IliTablePropertyObserver::~IliTablePropertyObserver ( )
virtual

Destructor.

A property is identified by the property name and the part of the table to which it is attached. The part of the table can be one of the following:

  • The whole table (rowno == -1 and colno == -1)
  • A whole column (rowno == -1 and colno >= 0)
  • A whole row (rowno >= 0 and colno == -1)
  • A given cell (rowno >= 0 and colno >= 0)

Member Function Documentation

virtual void IliTablePropertyObserver::propertyRemoved ( IliTablePropertyManager propMgr,
IlInt  rowno,
IlInt  colno,
const IlvSymbol propName 
)
virtual

Called when a property is removed.

Parameters
propMgrThe property manager.
rownoThe row position.
colnoThe column position.
propNameThe property name.
virtual void IliTablePropertyObserver::propertySet ( IliTablePropertyManager propMgr,
IlInt  rowno,
IlInt  colno,
const IlvSymbol propName 
)
virtual

Called when a property is set.

Parameters
propMgrThe property manager.
rownoThe row position.
colnoThe column position.
propNameThe property name.

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