rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gantt Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvGanttCalendarGrid Class Reference

Dynamic grid for Gantt rows in an IlvGanttChart. More...

#include <ilviews/gantt/ganttgrd.h>

Inheritance diagram for IlvGanttCalendarGrid:
IlvGanttHorizontalGridImpl IlvCalendarScale IlvTimeScale IlvSimpleGraphic IlvTimeScrollable IlvGraphic

List of all members.

Public Member Functions

 IlvGanttCalendarGrid (IlvGanttChart *gantt, const IlvRect &rect, IlvPalette *palette=0)
 Constructor to create new instances.
 IlvGanttCalendarGrid (IlvGanttChart *gantt, IlvPalette *palette=0)
 Constructor to create new instances.
virtual IlvPalettegetBackgroundPalette () const
 Returns the palette used to fill the grid.
virtual IlvPalettegetForegroundPalette () const
 Returns the palette used to draw the grid lines.
virtual IlvGanttChartgetGanttChart () const
 Returns the Gantt chart for which the grid is drawn.
virtual void getGridArea (IlvRect &area) const
 Returns the bounds of the grid.

Detailed Description

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.

See also:
IlvGanttChart, IlvCalendarScale.

Constructor & Destructor Documentation

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.

Parameters:
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.

Parameters:
gantt The Gantt chart for which to draw the grid.
rect The initial bounds of the grid.
palette The palette for the grid.

Member Function Documentation

virtual IlvPalette* IlvGanttCalendarGrid::getBackgroundPalette (  )  const [virtual]

Returns the palette used to fill the grid.

Subclasses should implement this function.

Returns:
The palette used to fill the grid.

Implements IlvGanttHorizontalGridImpl.

virtual IlvPalette* IlvGanttCalendarGrid::getForegroundPalette (  )  const [virtual]

Returns the palette used to draw the grid lines.

Subclasses should implement this function.

Returns:
The palette used to draw the grid lines.

Implements IlvGanttHorizontalGridImpl.

virtual IlvGanttChart* IlvGanttCalendarGrid::getGanttChart (  )  const [virtual]

Returns the Gantt chart for which the grid is drawn.

Subclasses should implement this function.

Returns:
The Gantt chart for which the grid is drawn.

Implements IlvGanttHorizontalGridImpl.

virtual void IlvGanttCalendarGrid::getGridArea ( IlvRect area  )  const [virtual]

Returns the bounds of the grid.

Subclasses should implement this function.

Returns:
The bounds of the grid.

Implements IlvGanttHorizontalGridImpl.

 All Classes Files Functions Variables Typedefs Enumerations Friends

© 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.