Rogue Wave Views Gantt Package API Reference Guide |
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. More... | |
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. More... | |
virtual void | contentsChanged () |
Called when the contents of the manager are changed. More... | |
virtual void | transformerChanged (const IlvTransformer *current, const IlvTransformer *previous) |
Called when you change the transformer of the view to which this hook is connected. More... | |
virtual void | viewResized () |
Called when the view to which this hook is connected is resized. More... | |
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 |
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 |
Called when the contents of the manager are changed.
The default implementation calls the member function adjustScrollBars
.
Reimplemented from IlvManagerViewHook.
|
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 |
Called when the view to which this hook is connected is resized.
The default implementation calls the member function adjustScrollBars
.
Reimplemented from IlvManagerViewHook.
© Copyright 2016, 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.