Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Interactor to reshape the Gantt chart views. More...
#include <ilviews/gantt/ganttint.h>
Public Member Functions | |
virtual void | doIt (IlvGraphic *handle, const IlvPoint &deltaMove, const IlvTransformer *t=0) |
Reshapes the Gantt chart views. | |
IlvGanttChart * | getGanttChart (const IlvGraphic *handle) const |
Returns the Gantt chart associated with a given handle box. | |
virtual void | validate (IlvGraphic *handle, IlvPoint &p, const IlvTransformer *t=0) |
Lets you control the position of the handle box. |
Interactor to reshape the Gantt chart views.
Library: ilvgantt
Use this class to reshape the manager and grapher views inside the Gantt chart. An IlvGanttHandleInteractor
instance is automatically set on the handle box of a Gantt chart.
IlvGanttChart
, IlvGanttChart::getHandle
. virtual void IlvGanttHandleInteractor::doIt | ( | IlvGraphic * | handle, | |
const IlvPoint & | deltaMove, | |||
const IlvTransformer * | t = 0 | |||
) | [virtual] |
Reshapes the Gantt chart views.
Reshapes the manager and grapher views inside the Gantt chart. The translation to apply to the handle box is given by deltaMove.
handle | The handle box. | |
deltaMove | The difference between the new and the initial location of the handle box in the object coordinate system. | |
t | The transformer applied to the view that displays the handle box (usually 0 ). |
Reimplemented from IlvMoveInteractor.
IlvGanttChart* IlvGanttHandleInteractor::getGanttChart | ( | const IlvGraphic * | handle | ) | const |
Returns the Gantt chart associated with a given handle box.
handle | The handle box. |
virtual void IlvGanttHandleInteractor::validate | ( | IlvGraphic * | handle, | |
IlvPoint & | p, | |||
const IlvTransformer * | t = 0 | |||
) | [virtual] |
Lets you control the position of the handle box.
Calls the IlvGanttChart::validateHandlePosition
method.
handle | The handle box. | |
p | The current position, in the object coordinate system. | |
t | The transformer applied to the view where the handle is displayed. |
Reimplemented from IlvMoveInteractor.
© 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.