![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Base class for Gantt chart horizontal grids. More...
#include <ilviews/gantt/ganttgrd.h>
Public Member Functions | |
| IlvGanttHorizontalGrid (IlvGanttChart *gantt, const IlvRect &rect, IlvPalette *palette=0) | |
| Constructor to create new instances. | |
| virtual IlvPalette * | getBackgroundPalette () const |
| Returns the palette used to fill the grid. | |
| virtual IlvPalette * | getForegroundPalette () const |
| Returns the palette used to draw the grid lines. | |
| virtual IlvGanttChart * | getGanttChart () const |
| Returns the Gantt chart for which the grid is drawn. | |
| virtual void | getGridArea (IlvRect &area) const |
| Returns the bounds of the grid. | |
Base class for Gantt chart horizontal grids.
Library: ilvgantt
This is the base class for all horizontal grid classes such as IlvGanttLineGrid and IlvGanttRowGrid. It is not designed to be independently instanced. Subclasses of this can use the implemented functions or override them if they do not meet the needs.
| IlvGanttHorizontalGrid::IlvGanttHorizontalGrid | ( | 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 IlvPalette* IlvGanttHorizontalGrid::getBackgroundPalette | ( | ) | const [virtual] |
Returns the palette used to fill the grid.
Subclasses should implement this function.
Implements IlvGanttHorizontalGridImpl.
| virtual IlvPalette* IlvGanttHorizontalGrid::getForegroundPalette | ( | ) | const [virtual] |
Returns the palette used to draw the grid lines.
Subclasses should implement this function.
Implements IlvGanttHorizontalGridImpl.
| virtual IlvGanttChart* IlvGanttHorizontalGrid::getGanttChart | ( | ) | const [virtual] |
Returns the Gantt chart for which the grid is drawn.
Subclasses should implement this function.
Implements IlvGanttHorizontalGridImpl.
| virtual void IlvGanttHorizontalGrid::getGridArea | ( | IlvRect & | area | ) | const [virtual] |
Returns the bounds of the grid.
Subclasses should implement this function.
Implements IlvGanttHorizontalGridImpl.
© 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.