Rogue Wave Views
Grapher Package API Reference Guide
Product Documentation:

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

Predefined grapher interactor to create IlvOneSplineLinkImage instances. More...

#include <ilviews/grapher/inters.h>

Inheritance diagram for IlvMakeOneSplineLinkImageInteractor:
IlvMakeOneLinkImageInteractor IlvMakeLinkInteractor IlvManagerViewInteractor IlvValueInterface

Public Member Functions

 IlvMakeOneSplineLinkImageInteractor (IlvManager *mgr, IlvView *v, IlBoolean oriented=IlTrue, IlvLinkOrientation o=IlvVerticalLink)
 Constructor. More...
 
virtual IlvLinkImagecreateLink (IlvGraphic *from, IlvGraphic *to) const
 Creates a new link. More...
 
- Public Member Functions inherited from IlvMakeOneLinkImageInteractor
 IlvMakeOneLinkImageInteractor (IlvManager *mgr, IlvView *v, IlBoolean oriented=IlTrue, IlvLinkOrientation o=IlvVerticalLink)
 Constructor. More...
 
- Public Member Functions inherited from IlvMakeLinkInteractor
 IlvMakeLinkInteractor (IlvManager *mgr, IlvView *v, IlBoolean oriented=IlTrue)
 Constructor. More...
 
virtual void doIt (IlvGraphic *from, IlvGraphic *to)
 Creates and adds the new link to the grapher. More...
 
IlvMakeLinkInteractorFactorygetFactory () const
 Returns the link factory associated with the instance. More...
 
IlvGraphicgetFrom () const
 Returns the node from which the link begins. More...
 
IlvGraphicgetTo () const
 Returns the node on which the link finishes. More...
 
void handlePointerMoved (IlBoolean b)
 Indicates whether nodes should be highlighted on mouse moves. More...
 
IlBoolean isHandlingPointerMoved () const
 Indicates whether nodes should be highlighted on mouse moves. More...
 
IlBoolean isOriented () const
 Indicates whether created links are oriented. More...
 
IlBoolean isUsingLinkGhost () const
 Indicates whether the ghost is drawn with an image of the created link. More...
 
IlvMakeLinkInteractorFactorysetFactory (IlvMakeLinkInteractorFactory *factory)
 Changes the link factory associated with the instance. More...
 
IlvMakeSelection setMakeNodeSelection (IlvMakeSelection mksel)
 Changes the way nodes are highlighted. More...
 
void setOriented (IlBoolean oriented)
 Indicates whether created links should be oriented. More...
 
void useLinkGhost (IlBoolean useLink)
 Indicates whether the ghost is drawn with an image of the created link. More...
 

Additional Inherited Members

- Protected Member Functions inherited from IlvMakeLinkInteractor
virtual IlBoolean acceptFrom (IlvGraphic *obj)
 Checks whether a graphic object is a valid starting node. More...
 
virtual IlBoolean acceptTo (IlvGraphic *obj)
 Checks whether a graphic object is a valid ending node. More...
 
IlBoolean findFromNode (const IlvPoint &p)
 Finds and stores the starting node. More...
 
IlBoolean findToNode (const IlvPoint &p)
 Finds and stores the ending node. More...
 
virtual void storeLink (IlvLinkImage *link)
 Adds the created link to the grapher. More...
 

Detailed Description

Predefined grapher interactor to create IlvOneSplineLinkImage instances.

Library: ilvgrapher

Use this class to create a link of the IlvOneSplineLinkImage type.

See also
IlvOneSplineLinkImage.

Constructor & Destructor Documentation

IlvMakeOneSplineLinkImageInteractor::IlvMakeOneSplineLinkImageInteractor ( IlvManager mgr,
IlvView v,
IlBoolean  oriented = IlTrue,
IlvLinkOrientation  o = IlvVerticalLink 
)

Constructor.

The constructor initializes a new instance of the IlvMakeOneSplineLinkImageInteractor class for the view v and the grapher mgr.

Parameters
mgrThe grapher to which the interactor is attached.
vThe view to which the interactor is attached.
orientedIlTrue if the created links are oriented and IlFalse otherwise.
oThe orientation of the created links.
See also
IlvOneLinkImage::setOrientation().

Member Function Documentation

virtual IlvLinkImage* IlvMakeOneSplineLinkImageInteractor::createLink ( IlvGraphic from,
IlvGraphic to 
) const
virtual

Creates a new link.

Creates an instance of IlvOneSplineLinkImage if no factory is defined.

Parameters
fromThe starting node.
toThe ending node.
Returns
The created link.
See also
IlvMakeLinkInteractor::setFactory().

Reimplemented from IlvMakeOneLinkImageInteractor.


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