Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

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

View rectangle class. More...

#include <ilviews/gadgets/rectgadc.h>

Inheritance diagram for IlvGadgetContainerRectangle:
IlvContainerRectangle IlvViewRectangle IlvFilledRectangle IlvRectangle IlvSimpleGraphic IlvGraphic IlvValueInterface IlvSCGadgetContainerRectangle

Public Member Functions

 IlvGadgetContainerRectangle (IlvDisplay *display, const IlvRect &rect, IlvPalette *palette=0)
 Constructor. More...
 
virtual IlvGadgetContainergetGadgetContainer () const
 Returns a pointer to the encapsulated gadget container. More...
 

Detailed Description

View rectangle class.

Library: ilvgadgt

The IlvGadgetContainerRectangle class defines a graphic object that encapsulates an instance of IlvGadgetContainer. This instance can be associated with a file name. When the gadget container is created, it reads the corresponding file.

See also
IlvGadgetContainer

Styling

This class supports the following CSS properties:

Graphic property CSS property Type
Background color background-colorColor

Constructor & Destructor Documentation

§ IlvGadgetContainerRectangle()

IlvGadgetContainerRectangle::IlvGadgetContainerRectangle ( IlvDisplay display,
const IlvRect rect,
IlvPalette palette = 0 
)

Constructor.

Initializes a new instance of the IlvGadgetContainerRectangle class.

Parameters
displayThe connection to the display.
rectThe size and position of the object.
paletteThe palette used to draw the object. The palette background color is set to the background color of the encapsulated gadget container.

Member Function Documentation

§ getGadgetContainer()

virtual IlvGadgetContainer* IlvGadgetContainerRectangle::getGadgetContainer ( ) const
virtual

Returns a pointer to the encapsulated gadget container.

Returns
A pointer to the gadget container encapsulated by this object.

Reimplemented in IlvSCGadgetContainerRectangle.


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