rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Gantt Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvGanttHandleInteractor Class Reference

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

#include <ilviews/gantt/ganttint.h>

Inheritance diagram for IlvGanttHandleInteractor:
IlvMoveInteractor IlvInteractor

List of all members.

Public Member Functions

virtual void doIt (IlvGraphic *handle, const IlvPoint &deltaMove, const IlvTransformer *t=0)
 Reshapes the Gantt chart views.
IlvGanttChartgetGanttChart (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.

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

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

Parameters:
handle The handle box.
Returns:
The Gantt chart associated with the handle box handle.
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:
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.