Rogue Wave Views
Gantt Package API Reference Guide
Product Documentation:

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

Interactor to reshape the Gantt chart views. More...

#include <ilviews/gantt/ganttint.h>

Inheritance diagram for IlvGanttHandleInteractor:
IlvMoveInteractor IlvInteractor

Public Member Functions

virtual void doIt (IlvGraphic *handle, const IlvPoint &deltaMove, const IlvTransformer *t=0)
 Reshapes the Gantt chart views. More...
 
IlvGanttChartgetGanttChart (const IlvGraphic *handle) const
 Returns the Gantt chart associated with a given handle box. More...
 
virtual void validate (IlvGraphic *handle, IlvPoint &p, const IlvTransformer *t=0)
 Lets you control the position of the handle box. More...
 

Detailed Description

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.

See also
IlvGanttChart, IlvGanttChart::getHandle.

Member Function Documentation

§ doIt()

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.

Parameters
handleThe handle box.
deltaMoveThe difference between the new and the initial location of the handle box in the object coordinate system.
tThe transformer applied to the view that displays the handle box (usually 0).

Reimplemented from IlvMoveInteractor.

§ getGanttChart()

IlvGanttChart* IlvGanttHandleInteractor::getGanttChart ( const IlvGraphic handle) const

Returns the Gantt chart associated with a given handle box.

Parameters
handleThe handle box.
Returns
The Gantt chart associated with the handle box handle.

§ validate()

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.

Parameters
handleThe handle box.
pThe current position, in the object coordinate system.
tThe transformer applied to the view where the handle is displayed.

Reimplemented from IlvMoveInteractor.


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