Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Manager interactor class. More...
#include <ilviews/manager/geointer.h>
Public Member Functions | |
IlvMakeZoomInteractor (IlvManager *manager, IlvView *view) | |
Constructor. | |
virtual void | doIt (IlvRect &rect) |
Action performed to finalize the interaction. | |
void | useDefaultTransitionScheduler (IlBoolean value=IlTrue, IlUInt duration=1000) |
Tells the interactor whether to use the default transition scheduler to zoom the view. |
Manager interactor class.
Library: ilvmgr
Use this class to zoom in within a view.
IlvManager
, IlvView
, IlvTransformer
. IlvMakeZoomInteractor::IlvMakeZoomInteractor | ( | IlvManager * | manager, | |
IlvView * | view | |||
) |
Constructor.
Initializes a new instance of the IlvMakeZoomInteractor
class.
manager | The manager. | |
view | The manager view. |
virtual void IlvMakeZoomInteractor::doIt | ( | IlvRect & | rect | ) | [virtual] |
Action performed to finalize the interaction.
Modifies the IlvTransformer
associated with the view. The new transformer is computed in such a way that, when applied to rect
, the result is the client area of the view.
rect | The rectangle used to compute the new transformer. |
Reimplemented from IlvDragRectangleInteractor.
void IlvMakeZoomInteractor::useDefaultTransitionScheduler | ( | IlBoolean | value = IlTrue , |
|
IlUInt | duration = 1000 | |||
) |
Tells the interactor whether to use the default transition scheduler to zoom the view.
value | A Boolean value specifying whether to use or not the default transition scheduler to unzoom the view. If value is IlFalse , no transition scheduler will be used. | |
duration | The duration that the transition will take to complete. The value is a number of milliseconds. |
© 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.