Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Gadget class. More...
#include <ilviews/dataccess/gadgets/sqldtsrc.h>
Public Member Functions | |
IliSQLDataSource (IlvDisplay *display, const IlvPoint &at, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) | |
The constructor initializes an SQL data source. | |
virtual IlvBitmap * | getBitmap () const |
Returns the bitmap that is displayed during the design phase in Rogue Wave Views Data Access. | |
IliSQLTable * | getSQLTable () |
Returns the SQL table of the data source. | |
const IliSQLTable * | getSQLTable () const |
Returns the SQL table of the data source. | |
void | setSQLTable (IliSQLTable *table, IlBoolean owner=IlTrue) |
Sets the SQL table of the data source. |
Gadget class.
Library: dbsqlgad
The IliSQLDataSource
class defines a data source whose table is an SQL table.
IliSQLDataSource::IliSQLDataSource | ( | IlvDisplay * | display, | |
const IlvPoint & | at, | |||
IlUShort | thickness = IlvDefaultGadgetThickness , |
|||
IlvPalette * | palette = 0 | |||
) |
The constructor initializes an SQL data source.
display | The display. | |
rect | The location. | |
thickness | The border thickness. | |
palette | The palette. |
virtual IlvBitmap* IliSQLDataSource::getBitmap | ( | ) | const [virtual] |
Returns the bitmap that is displayed during the design phase in Rogue Wave Views Data Access.
Reimplemented from IliDataSource.
IliSQLTable * IliSQLDataSource::getSQLTable | ( | ) |
Returns the SQL table of the data source.
const IliSQLTable * IliSQLDataSource::getSQLTable | ( | ) | const |
Returns the SQL table of the data source.
void IliSQLDataSource::setSQLTable | ( | IliSQLTable * | table, | |
IlBoolean | owner = IlTrue | |||
) |
Sets the SQL table of the data source.
table | The SQL table. | |
owner | If IlTrue , the data source becomes the owner of the table. |
© 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.