rwlogo

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator
List of all members | Public Member Functions | Protected Member Functions
IliDataGem Class Reference

Gadget class. More...

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

Inheritance diagram for IliDataGem:
IlvGadget IlvSimpleGraphic IlvStylable IlvGraphic IliDataSource IliDbTimer IliHTMLReporter IliXML IliMemoryDataSource IliSQLDataSource

Public Member Functions

virtual IlvBitmapgetBitmap () const
 Returns the bitmap that is displayed during the design phase in Rogue Wave Views Data Access. More...
 
IlBoolean hasGlobalScope () const
 Returns IlFalse if the scope of the name of the data gem is limited to the container in which it is located. More...
 
IlBoolean isSystemUsage () const
 Returns IlTrue if the object is used by the system. More...
 
virtual void setGlobalScope (IlBoolean global)
 Specifies whether the scope of the name of the data gem is local to the container in which it is located or globally visible. More...
 
virtual void usedBySystem (IlBoolean usage)
 Specifies if the object is a system object. More...
 

Protected Member Functions

 IliDataGem (IlvDisplay *display, const IlvPoint &at, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0)
 The constructor initializes a data gem. More...
 

Detailed Description

Gadget class.

Library: dbgadget

The IliDataGem class defines gadgets that are only visible during the design phase in Rogue Wave Views Data Access. At run time, they cannot be seen by the user. This class serves as a base class for the IliDataSource class, for example.

See Also
IliDataSource

Constructor & Destructor Documentation

IliDataGem::IliDataGem ( IlvDisplay display,
const IlvPoint at,
IlUShort  thickness = IlvDefaultGadgetThickness,
IlvPalette palette = 0 
)
protected

The constructor initializes a data gem.

This constructor is protected.

Parameters
displayThe display.
atThe position.
thicknessThe border thickness.
paletteThe palette.

Member Function Documentation

virtual IlvBitmap* IliDataGem::getBitmap ( ) const
virtual

Returns the bitmap that is displayed during the design phase in Rogue Wave Views Data Access.

Returns
The bitmap.

Reimplemented in IliXML, IliDataSource, IliHTMLReporter, IliDbTimer, IliMemoryDataSource, and IliSQLDataSource.

IlBoolean IliDataGem::hasGlobalScope ( ) const

Returns IlFalse if the scope of the name of the data gem is limited to the container in which it is located.

Returns
The data source scope.
IlBoolean IliDataGem::isSystemUsage ( ) const

Returns IlTrue if the object is used by the system.

Returns
The system usage flag.
virtual void IliDataGem::setGlobalScope ( IlBoolean  global)
virtual

Specifies whether the scope of the name of the data gem is local to the container in which it is located or globally visible.

Parameters
globalThe data source scope (IlTrue for global).

Reimplemented in IliDataSource.

virtual void IliDataGem::usedBySystem ( IlBoolean  usage)
virtual

Specifies if the object is a system object.

While users cannot see the system object, they can use it. By default, an object is not a system object.

Parameters
usageThe system object flag.

© Copyright 2015, 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.