rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IliDataSourcesUsesGadget Class Reference

Gadget class. More...

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

Inheritance diagram for IliDataSourcesUsesGadget:
IlvTreeGadget IliRepositoryService IlvScrolledGadget IlvTreeGadgetItemHolder IlvGadget IlvGadgetItemHolder IlvSimpleGraphic IlvGraphic

List of all members.

Public Member Functions

 IliDataSourcesUsesGadget (IlvDisplay *display, const IlvRect &rect, IlBoolean autoBuild, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0)
 Initializes an IlvDataSourcesUsesGadget with the auto-build flag set to autoBuild (see the class IliRepositoryService).
 IliDataSourcesUsesGadget (IlvDisplay *display, const IlvRect &rect, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0)
 Initializes an IlvDataSourcesUsesGadget with the auto-build flag set to IlTrue (see the class IliRepositoryService).
virtual void addDataSource (IliDataSource *)
 Called each time a valid data source has been found and must be displayed.
virtual IlvGraphicHoldergetSelectedHolder ()
 Returns the holder selected into the gadget.
virtual void justAfterBuild ()
 Called just after the data sources have been browsed.
virtual void justBeforeBuild ()
 Called just before data source browsing begins.

Detailed Description

Gadget class.

Library: dbgadget

The IliDataSourcesUsesGadget class defines a tree gadget class, which can display up to three levels of information for each valid data source of the application. The levels are:

Each data source has a bitmap showing if the data source is global. If the data source is global the bitmap is green. If the data source is not global, the bitmap is red.

See also:
IliRepositoryService.

Constructor & Destructor Documentation

IliDataSourcesUsesGadget::IliDataSourcesUsesGadget ( IlvDisplay display,
const IlvRect rect,
IlUShort  thickness = IlvDefaultGadgetThickness,
IlvPalette palette = 0 
)

Initializes an IlvDataSourcesUsesGadget with the auto-build flag set to IlTrue (see the class IliRepositoryService).

Parameters:
display The display.
rect The location.
thickness The border thickness.
palette The palette.
IliDataSourcesUsesGadget::IliDataSourcesUsesGadget ( IlvDisplay display,
const IlvRect rect,
IlBoolean  autoBuild,
IlUShort  thickness = IlvDefaultGadgetThickness,
IlvPalette palette = 0 
)

Initializes an IlvDataSourcesUsesGadget with the auto-build flag set to autoBuild (see the class IliRepositoryService).

Parameters:
display The display.
rect The location.
autoBuild The auto-build flag.
thickness The border thickness.
palette The palette.

Member Function Documentation

virtual void IliDataSourcesUsesGadget::addDataSource ( IliDataSource ds  )  [virtual]

Called each time a valid data source has been found and must be displayed.

By default this function does nothing.

Parameters:
ds The data source.

Reimplemented from IliRepositoryService.

virtual IlvGraphicHolder* IliDataSourcesUsesGadget::getSelectedHolder (  )  [virtual]

Returns the holder selected into the gadget.

By default, this function returns 0.

Returns:
The holder.

Reimplemented from IliRepositoryService.

virtual void IliDataSourcesUsesGadget::justAfterBuild (  )  [virtual]

Called just after the data sources have been browsed.

By default this function does nothing.

Reimplemented from IliRepositoryService.

virtual void IliDataSourcesUsesGadget::justBeforeBuild (  )  [virtual]

Called just before data source browsing begins.

By default this function does nothing.

Reimplemented from IliRepositoryService.

 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.