Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Gantt chart scroll hook class. More...
#include <ilviews/gantt/gantt.h>
Public Member Functions | |
IlvGanttScrollViewHook (IlvGanttChart *gantt, IlvManager *grapher, IlvView *view) | |
Constructor. | |
virtual void | adjustScrollBars () |
Computes new scroll bar locations depending on the Gantt contents. | |
virtual void | adjustViews (IlUShort index, IlvDirection dir) |
Adjusts the view and all other manager and grapher views aligned with this view. | |
virtual void | contentsChanged () |
Called when the contents of the manager are changed. | |
virtual void | transformerChanged (const IlvTransformer *current, const IlvTransformer *previous) |
Called when you change the transformer of the view to which this hook is connected. | |
virtual void | viewResized () |
Called when the view to which this hook is connected is resized. |
Gantt chart scroll hook class.
Library: ilvgantt
An IlvGanttScrollViewHook
object is connected to each of the four views managed by the Gantt grapher. This hook is used to adjust scroll bars and views as needed.
IlvGanttScrollViewHook::IlvGanttScrollViewHook | ( | IlvGanttChart * | gantt, | |
IlvManager * | grapher, | |||
IlvView * | view | |||
) |
Constructor.
The constructor initializes an IlvGanttScrollViewHook
object with the parameters you provide.
gantt | The Gantt chart. | |
grapher | The grapher of the Gantt chart. | |
view | The view. |
virtual void IlvGanttScrollViewHook::adjustViews | ( | IlUShort | index, | |
IlvDirection | dir | |||
) | [virtual] |
Adjusts the view and all other manager and grapher views aligned with this view.
Adjusts the view indicated by index and all other manager and grapher views that are aligned with this view in the direction dir. The parameter dir can handle three possible values:
IlvVertical
IlvHorizontal
IlvVertical
|IlvHorizontal
index | The position of the view. | |
dir | The direction in which the view will be adjusted. |
virtual void IlvGanttScrollViewHook::contentsChanged | ( | ) | [virtual] |
Called when the contents of the manager are changed.
The default implementation calls the member function adjustScrollBars
.
Reimplemented from IlvManagerViewHook.
virtual void IlvGanttScrollViewHook::transformerChanged | ( | const IlvTransformer * | current, | |
const IlvTransformer * | previous | |||
) | [virtual] |
Called when you change the transformer of the view to which this hook is connected.
The default implementation calls the member function adjustScrollBars
.
current | The current transformer. | |
previous | The previous transformer. |
Reimplemented from IlvManagerViewHook.
virtual void IlvGanttScrollViewHook::viewResized | ( | ) | [virtual] |
Called when the view to which this hook is connected is resized.
The default implementation calls the member function adjustScrollBars
.
Reimplemented from IlvManagerViewHook.
© 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.