rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IliLabeledBitmap Class Reference

Graphic. More...

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

Inheritance diagram for IliLabeledBitmap:
IlvSimpleGraphic IlvGraphic

List of all members.

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.
const char * getBitmapName () const
 Returns the file name of the bitmap.
const char * getLabelName () const
 Returns the label text.
void setBitmapName (const char *name)
 Sets the file name of the bitmap.
void setLabelName (const char *label)
 Sets the label text.

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:
display The display.
x The x position.
y The y position.
name The label.
bmpName The file name of the bitmap. If NULL, a filled rectangle is displayed.
palette The 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:
name The file name.
void IliLabeledBitmap::setLabelName ( const char *  label  ) 

Sets the label text.

Parameters:
label The label text.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends

© 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.