Rogue Wave Views Data Access Package API Reference Guide |
Rogue Wave Views Documentation Home |
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... | |
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.
IlInt IliModelHookInfo::getColumn | ( | ) | const |
Returns the column position.
The value is valid if the event is a column event or cell event.
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).
IlInt IliModelHookInfo::getFrom | ( | ) | const |
Returns the position of the first row or first column.
The content depends of the event type.
IlInt IliModelHookInfo::getRow | ( | ) | const |
Returns the row position.
The value is valid if the event is a row event or cell event.
IlInt IliModelHookInfo::getTo | ( | ) | const |
Returns the position of the last row or last column.
The content depends of the event type.
© Copyright 2018, 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.