rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IliModelHookInfo Class Reference

Model hook class. More...

#include <ilviews/dataccess/gadgets/gdtmodel.h>

Public Member Functions

 IliModelHookInfo ()
 The constructor initializes a new IliModelHookInfo instance.
 
IlInt getColumn () const
 Returns the column position. More...
 
IlInt getDataSourceIndex () const
 Returns the data source index. More...
 
IlInt getFrom () const
 Returns the position of the first row or first column. More...
 
IlInt getRow () const
 Returns the row position. More...
 
IlInt getTo () const
 Returns the position of the last row or last column. More...
 

Detailed Description

Model hook class.

Library: dbgadget

The IliGadgetModel class has some virtual functions which are called by gadget data source(s) to notify an event. The IliModelHookInfo class defines the objects interface which contains more information about this event.

See Also
IliGadgetModel, IliModel.

Member Function Documentation

IlInt IliModelHookInfo::getColumn ( ) const

Returns the column position.

The value is valid if the event is a column event or cell event.

Returns
The position.
IlInt IliModelHookInfo::getDataSourceIndex ( ) const

Returns the data source index.

A gadget can have several data source (for example: IliDbTreeGadget ), each data source is identified by an index (it starts at 0).

Returns
The index.
IlInt IliModelHookInfo::getFrom ( ) const

Returns the position of the first row or first column.

The content depends of the event type.

Returns
The position.
IlInt IliModelHookInfo::getRow ( ) const

Returns the row position.

The value is valid if the event is a row event or cell event.

Returns
The position.
IlInt IliModelHookInfo::getTo ( ) const

Returns the position of the last row or last column.

The content depends of the event type.

Returns
The position.

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