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