Rogue Wave Views Gantt Package API Reference Guide |
Rogue Wave Views Documentation Home |
Gantt chart subnode hook class. More...
#include <ilviews/gantt/gantt.h>
Public Member Functions | |
IlvGanttSubNodeHook (IlvGanttChart *gantt) | |
Constructor. More... | |
virtual IlBoolean | afterMove (IlvGanttNode *node, IlUShort i, IlvGanttSubNode *data) |
Called when a user of a Gantt chart has moved a subnode. More... | |
virtual IlBoolean | afterReshape (IlvGanttNode *node, IlUShort i, IlvGanttSubNode *data) |
Called when a user of a Gantt chart has reshaped a subnode. More... | |
virtual IlBoolean | beforeMove (IlvGanttNode *node, IlUShort i, IlvGanttSubNode *data) |
Called when a user of a Gantt chart moves a subnode. More... | |
virtual IlBoolean | beforeReshape (IlvGanttNode *node, IlUShort i, IlvGanttSubNode *data) |
Called when a user of a Gantt chart reshapes a subnode. More... | |
IlvGanttChart * | getGanttChart () const |
Gets the Gantt chart on which the hook is installed. More... | |
Gantt chart subnode hook class.
Library: ilvgantt
The IlvGanttSubNodeHook
class is used to capture the modifications on a subnode when users use IlvGanttSelectInteractor
to manipulate the subnode.
It is recommended that you use this class in the following manner:
IlvGanttSubNodeHook
. IlvGanttChart::setSubNodeHook()
method to install your subnode hook. IlvGanttChart
, IlvGanttChartForm
. IlvGanttSubNodeHook::IlvGanttSubNodeHook | ( | IlvGanttChart * | gantt | ) |
Constructor.
This constructor initializes an IlvGanttSubNodeHook
object.
gantt | The Gantt chart on which you will install your subnode hook. |
|
virtual |
Called when a user of a Gantt chart has moved a subnode.
This virtual method is called when a user of the Gantt chart has moved a subnode.
node | The node of data. |
i | The index of data in node. |
data | The manipulated subnode. |
|
virtual |
Called when a user of a Gantt chart has reshaped a subnode.
This virtual method is called when a user of the Gantt chart has reshaped a subnode.
node | The node of data. |
i | The index of data in node. |
data | The manipulated subnode. |
|
virtual |
Called when a user of a Gantt chart moves a subnode.
This virtual method is called when a user of a Gantt chart moves a subnode using IlvGanttSelectInteractor
.
node | The node of data. |
i | The index of data in node. |
data | The manipulated subnode. |
IlTrue
, the IlvGanttSelectInteractor
will move the subnode. Otherwise, IlvGanttSelectInteractor
will abort its operation and the subnode will not be moved.
|
virtual |
Called when a user of a Gantt chart reshapes a subnode.
This virtual method is called when a user of a Gantt chart reshapes a subnode using IlvGanttSelectInteractor
.
node | The node to be reshaped. |
i | The index of the subnode in the node. |
data | The manipulated subnode. |
IlTrue
the IlvGanttSelectInteractor
will reshape the subnode. Otherwise, IlvGanttSelectInteractor
will abort its operation and the subnode will not be reshaped. IlvGanttChart* IlvGanttSubNodeHook::getGanttChart | ( | ) | const |
Gets the Gantt chart on which the hook is installed.
© Copyright 2018, 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.