Rogue Wave Views
Data Access Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IliLabeledBitmap Class Reference

Graphic. More...

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

Inheritance diagram for IliLabeledBitmap:
IlvSimpleGraphic IlvGraphic IlvValueInterface

Public Member Functions

 IliLabeledBitmap (IlvDisplay *display, IlvPos x, IlvPos y, const char *name, const char *bmpName, IlvPalette *palette=0)
 This constructor creates a graphic object to display a bitmap and a label. More...
 
const char * getBitmapName () const
 Returns the file name of the bitmap. More...
 
const char * getLabelName () const
 Returns the label text. More...
 
void setBitmapName (const char *name)
 Sets the file name of the bitmap. More...
 
void setLabelName (const char *label)
 Sets the label text. More...
 

Detailed Description

Graphic.

Library: dbgadget

The IliLabeledBitmap class defines a graphic object to display a picture (or a fill rectangle) with a label (if the text is not null).

See also
IliDbGrapher.

Constructor & Destructor Documentation

IliLabeledBitmap::IliLabeledBitmap ( IlvDisplay display,
IlvPos  x,
IlvPos  y,
const char *  name,
const char *  bmpName,
IlvPalette palette = 0 
)

This constructor creates a graphic object to display a bitmap and a label.

Parameters
displayThe display.
xThe x position.
yThe y position.
nameThe label.
bmpNameThe file name of the bitmap. If NULL, a filled rectangle is displayed.
paletteThe palette.

Member Function Documentation

const char* IliLabeledBitmap::getBitmapName ( ) const

Returns the file name of the bitmap.

Returns
The name.
const char* IliLabeledBitmap::getLabelName ( ) const

Returns the label text.

Returns
The text.
void IliLabeledBitmap::setBitmapName ( const char *  name)

Sets the file name of the bitmap.

Parameters
nameThe file name.
void IliLabeledBitmap::setLabelName ( const char *  label)

Sets the label text.

Parameters
labelThe label text.

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