rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

dbgraphe.h File Reference

#include <ilviews/grapher/links.h>
#include <ilviews/grapher/inters.h>
#include <ilviews/base/error.h>
#include <ilviews/base/gadget.h>
#include <ilviews/gadgraph/rectscgr.h>
#include <ilviews/dataccess/gadgets/dsusage.h>
#include <ilviews/dataccess/reposit.h>
#include <ilviews/graphics/label.h>
#include <ilviews/dataccess/gadgets/labelbmp.h>

Classes

class  IliDbGrapher
 Gadget. More...
class  IliGrapher
 Grapher. More...

Typedefs

typedef IlvGraphic *(* IliCreateObjectCallback )(IliTableBuffer *buff, IlAny arg)
typedef IlBoolean(* IliDefineObjectCallback )(IliTableBuffer *buff, IlvGraphic *g, IlAny arg)
typedef IlvGraphic *(* IliUpdateObjectCallback )(IlvGraphic *previous, IliTableBuffer *buff, IlAny arg)

Enumerations

enum  IliGrapherColor { IliGrapherLinkColor, IliGrapherForegroundLabelColor, IliGrapherBackgroundLabelColor }
 

This enumerated type defines the colors of the IliDbGrapher .

More...
enum  IliGrapherColumn {
  IliGrapherNodeXColumn, IliGrapherNodeYColumn, IliGrapherNodeIdColumn, IliGrapherNodeLabelColumn,
  IliGrapherNodeBitmapColumn, IliGrapherNodeForegroundColumn, IliGrapherNodeBackgroundColumn, IliGrapherLinkFromColumn,
  IliGrapherLinkToColumn, IliGrapherLinkColorColumn, IliGrapherLinkTypeColumn, IliGrapherLinkOrientedColumn
}
 

This enumerated type defines the data source columns used by the IliDbGrapher.

More...

Detailed Description

[library dbgraphe ilviews/dataccess/gadgets/dbgraphe.h] Declarations about grapher


Typedef Documentation

This type defines the prototype of a function that is called to create a node (or a link).

Parameters:
buff The definition of the object.
arg The user data.
Returns:
The created object or null if there is a problem.
See also:
IliDbGrapher

This type defines the prototype of a function that is called to define the data of a node (or a link) before appending into a data source.

Parameters:
buff The data buffer which contains the object data.
g The current graphic object if already exists.
arg The user data.
Returns:
IlTrue if the node (or link) can be created. Otherwise, it returns IlFalse.
See also:
IliDbGrapher

This type defines the prototype of a function that is called to update a node or a link.

Parameters:
previous The object that must be updated.
buff The new definition of the object.
arg The user data.
Returns:
The updated object. If the returned object is a new object, the old object is deleted by the IliDbGrapher object.
See also:
IliDbGrapher

Enumeration Type Documentation

This enumerated type defines the colors of the IliDbGrapher .

Enumerator:
IliGrapherLinkColor 

The color used to draw the links.

IliGrapherForegroundLabelColor 

The foreground color used to draw the node label.

IliGrapherBackgroundLabelColor 

The background color used to draw the node label.

This enumerated type defines the data source columns used by the IliDbGrapher.

Enumerator:
IliGrapherNodeXColumn 

Column for the x-position of the node.

IliGrapherNodeYColumn 

Column for the y-position of the node.

IliGrapherNodeIdColumn 

Column for the node identifier.

IliGrapherNodeLabelColumn 

Column for the node label.

IliGrapherNodeBitmapColumn 

Column for the node bitmap.

IliGrapherNodeForegroundColumn 

Column for the node foreground.

IliGrapherNodeBackgroundColumn 

Column for the node background.

IliGrapherLinkFromColumn 

Column for the link from.

IliGrapherLinkToColumn 

Column for the link to.

IliGrapherLinkColorColumn 

Column for the link color.

IliGrapherLinkTypeColumn 

Column for the link type. The type can be an integer from 0 to 6 inclusive.

IliGrapherLinkOrientedColumn 

Column to indicate if the link is oriented.

 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.