rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvMoveReshapeInteractor Class Reference

Interactor to move or resize graphic objects. More...

#include <ilviews/graphics/inter.h>

Inheritance diagram for IlvMoveReshapeInteractor:
IlvInteractor

List of all members.

Public Member Functions

virtual void getCallbackTypes (IlUInt &count, const char *const **names, const IlSymbol *const **types) const
 Gets the number of register callback types for the interactor.
virtual IlBoolean handleEvent (IlvGraphic *obj, IlvEvent &event, const IlvTransformer *t)
 Handles events received by the interactor.

Detailed Description

Interactor to move or resize graphic objects.

Library: views

Combines the two interactors IlvMoveInteractor and IlvReshapeInteractor.

See also:
IlvMoveInteractor, IlvReshapeInteractor.

Member Function Documentation

virtual void IlvMoveReshapeInteractor::getCallbackTypes ( IlUInt count,
const char *const **  names,
const IlSymbol *const **  types 
) const [virtual]

Gets the number of register callback types for the interactor.

If you provide a non-0 pointer to an array of strings in the parameter names, it is set on return to point to an array of strings that describe each of the callback types. Some of these descriptions may be 0. You must not modify nor delete this array. If you provide a non-0 pointer to an array of symbols in the parameter types, it is set on return to point to an array of symbols that define each of the callback types. You must not modify nor delete this array. If you create a new callback type and want it returned by a call to getCallbackTypes, you can use the static member function IlvGraphic::AddToCallbackTypeList. The default implementation registers one callback with the shared name of the interactor as symbol. For example, the IlvMoveInteractor class has a callback registered on the symbol "Move".

Parameters:
count The number of elements in the returned arrays names and types. This parameter must be set to 0 before calling this method.
names An array of strings.
types An array of symbols.
Returns:
The number of register callback types for this object.

Reimplemented from IlvInteractor.

virtual IlBoolean IlvMoveReshapeInteractor::handleEvent ( IlvGraphic g,
IlvEvent event,
const IlvTransformer t 
) [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.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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