rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvGraphicComAdapterInteractor Class Reference

Interactor that lets the user to interact with the ActiveX associated to an IlvGraphicComAdapter. More...

#include <ilviews/windows/comgint.h>

Inheritance diagram for IlvGraphicComAdapterInteractor:
IlvInteractor

List of all members.

Public Member Functions

 IlvGraphicComAdapterInteractor ()
 Constructor.
virtual IlBoolean accept (const IlvGraphic *) const
 Indicates whether the current interactor can be associated with a given object.
virtual IlBoolean handleEvent (IlvGraphic *graphic, IlvEvent &event, const IlvTransformer *t=0)
 Handles events received by the interactor.

Detailed Description

Interactor that lets the user to interact with the ActiveX associated to an IlvGraphicComAdapter.

Library: ilvcom

The events such as button click are forwarded to the ActiveX so that it can deal with them.

See also:
IlvGraphicComAdapter.

Constructor & Destructor Documentation

IlvGraphicComAdapterInteractor::IlvGraphicComAdapterInteractor (  ) 

Constructor.

Initializes a new instance of the IlvGraphicComAdapterInteractor class.


Member Function Documentation

virtual IlBoolean IlvGraphicComAdapterInteractor::accept ( const IlvGraphic obj  )  const [virtual]

Indicates whether the current interactor can be associated with a given object.

Parameters:
obj The considered graphic object.
Returns:
xxIlTrue if the interactor can safely be attached to obj, and xxIlFalse otherwise.
See also:
IlvGraphic::setInteractor

Reimplemented from IlvInteractor.

virtual IlBoolean IlvGraphicComAdapterInteractor::handleEvent ( IlvGraphic g,
IlvEvent event,
const IlvTransformer t = 0 
) [virtual]

Handles events received by the interactor.

This method is the entry point of all events dispatched to this interactor.

Parameters:
g The graphic object that receives the event.
event The received event.
t The transformer applied to the view in which the event occurred.
Returns:
IlTrue if the event was successfully handled and IlFalse otherwise.

Implements IlvInteractor.


© 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.