rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Grapher Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvMakeLinkInteractorFactory Class Reference

Factory to create links. More...

#include <ilviews/grapher/inters.h>

List of all members.

Public Member Functions

virtual IlvLinkImagecreateLink (IlvDisplay *dpy, IlvGraphic *from, IlvGraphic *to, IlBoolean oriented) const =0
 Creates the link instance.

Detailed Description

Factory to create links.

Library: ilvgrapher

This class is designed to be used with the IlvMakeLinkInteractor class and lets you provide which link instance is created by the interactor.

See also:
IlvMakeLinkInteractor, IlvMakeLinkInteractor::setFactory

Member Function Documentation

virtual IlvLinkImage* IlvMakeLinkInteractorFactory::createLink ( IlvDisplay dpy,
IlvGraphic from,
IlvGraphic to,
IlBoolean  oriented 
) const [pure virtual]

Creates the link instance.

Creates a link between the from and to nodes. You must define the method in subclasses in order to return a given link.

Parameters:
dpy The display connection that handles the drawing of the new link.
from The starting node.
to The ending node.
oriented IlTrue if the new link is oriented and IlFalse otherwise.
Returns:
The created link.
 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.