Rogue Wave Views Gantt Package API Reference Guide |
Rogue Wave Views Documentation Home |
Gantt chart horizontal grid implementation class. More...
#include <ilviews/gantt/ganttgrd.h>
Public Member Functions | |
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... | |
virtual IlvPalette * | getBackgroundPalette () const =0 |
Returns the palette used to fill the grid. More... | |
virtual IlvPalette * | getForegroundPalette () const =0 |
Returns the palette used to draw the grid lines. More... | |
virtual IlvGanttChart * | getGanttChart () const =0 |
Returns the Gantt chart for which the grid is drawn. More... | |
virtual void | getGridArea (IlvRect &area) const =0 |
Returns the bounds of the grid. More... | |
Gantt chart horizontal grid implementation class.
Library: ilvgantt
This class implements some basic functions for drawing horizontal grids for an IlvGanttChart
or IlvGanttChartForm
. It is not designed to be independently instantiated. Subclasses can use the implemented functions or override them if they do not meet the needs.
|
virtual |
Draws the horizontal grid for the Gantt chart.
This function calls drawLine()
to draw the grid. Note that this function does not push the clip.
port | The destination to draw the grid. |
t | The transformer used to draw the grid. |
clip | The clip region. |
Reimplemented in IlvGanttRowGrid, and IlvGanttResourceGrid.
|
virtual |
Draws a grid line.
This function is called by the drawGrid()
method to draw the grid lines. Subclasses can override this function to draw customized lines.
port | The destination to draw the grid. |
palette | The palette used to draw the line. |
t | The transformer used to draw the grid. |
from | The start point of the line to draw. |
to | The end point of the line to draw. |
Reimplemented in IlvGanttLineReliefGrid.
|
virtual |
Fills the horizontal grid for the Gantt chart.
This function fills the background of the grid. Note that this function does not push the clip.
port | The destination to draw the grid. |
t | The transformer used to draw the grid. |
clip | The clip region. |
Reimplemented in IlvGanttLineReliefGrid.
|
pure virtual |
Returns the palette used to fill the grid.
Subclasses should implement this function.
Implemented in IlvGanttCalendarGrid, and IlvGanttHorizontalGrid.
|
pure virtual |
Returns the palette used to draw the grid lines.
Subclasses should implement this function.
Implemented in IlvGanttCalendarGrid, and IlvGanttHorizontalGrid.
|
pure virtual |
Returns the Gantt chart for which the grid is drawn.
Subclasses should implement this function.
Implemented in IlvGanttCalendarGrid, and IlvGanttHorizontalGrid.
|
pure virtual |
Returns the bounds of the grid.
Subclasses should implement this function.
Implemented in IlvGanttCalendarGrid, and IlvGanttHorizontalGrid.
© 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.