Rogue Wave Views Gantt Package API Reference Guide |
Rogue Wave Views Documentation Home |
Dynamic grid for Gantt rows in an IlvGanttChart
.
More...
#include <ilviews/gantt/ganttgrd.h>
Public Member Functions | |
IlvGanttCalendarGrid (IlvGanttChart *gantt, IlvPalette *palette=0) | |
Constructor to create new instances. More... | |
IlvGanttCalendarGrid (IlvGanttChart *gantt, const IlvRect &rect, IlvPalette *palette=0) | |
Constructor to create new instances. More... | |
virtual IlvPalette * | getBackgroundPalette () const |
Returns the palette used to fill the grid. More... | |
virtual IlvPalette * | getForegroundPalette () const |
Returns the palette used to draw the grid lines. More... | |
virtual IlvGanttChart * | getGanttChart () const |
Returns the Gantt chart for which the grid is drawn. More... | |
virtual void | getGridArea (IlvRect &area) const |
Returns the bounds of the grid. More... | |
Public Member Functions inherited from IlvGanttHorizontalGridImpl | |
IlvGanttHorizontalGridImpl () | |
Users should user directly this constructor to create new instances. | |
virtual void | drawGrid (IlvPort *port, const IlvTransformer *t=0, const IlvRegion *clip=0) const |
Draws the horizontal grid for the Gantt chart. More... | |
virtual void | drawLine (IlvPort *port, const IlvPalette *palette, const IlvTransformer *t, IlvPoint &from, IlvPoint &to) const |
Draws a grid line. More... | |
virtual void | fillGrid (IlvPort *port, const IlvTransformer *t=0, const IlvRegion *clip=0) const |
Fills the horizontal grid for the Gantt chart. More... | |
Dynamic grid for Gantt rows in an IlvGanttChart
.
Library: ilvgantt
This class draws horizontal and vertical grids for the Gantt rows in the grapher views of the IlvGanttChart
. The horizontal graduation of the grid is automatically updated when the grapher views is zoomed.
IlvGanttCalendarGrid::IlvGanttCalendarGrid | ( | IlvGanttChart * | gantt, |
IlvPalette * | palette = 0 |
||
) |
Constructor to create new instances.
The palette parameter specifies the foreground of the grid. An inverted palette is automatically computed for filling the background.
gantt | The Gantt chart for which to draw the grid. |
palette | The palette for the grid. |
IlvGanttCalendarGrid::IlvGanttCalendarGrid | ( | IlvGanttChart * | gantt, |
const IlvRect & | rect, | ||
IlvPalette * | palette = 0 |
||
) |
Constructor to create new instances.
The palette parameter specifies the foreground of the grid. An inverted palette is automatically computed for filling the background.
gantt | The Gantt chart for which to draw the grid. |
rect | The initial bounds of the grid. |
palette | The palette for the grid. |
|
virtual |
Returns the palette used to fill the grid.
Subclasses should implement this function.
Implements IlvGanttHorizontalGridImpl.
|
virtual |
Returns the palette used to draw the grid lines.
Subclasses should implement this function.
Implements IlvGanttHorizontalGridImpl.
|
virtual |
Returns the Gantt chart for which the grid is drawn.
Subclasses should implement this function.
Implements IlvGanttHorizontalGridImpl.
|
virtual |
Returns the bounds of the grid.
Subclasses should implement this function.
Implements IlvGanttHorizontalGridImpl.
© 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.