rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gantt Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvGanttResourceHeader Class Reference

Gantt chart form resource header class. More...

#include <ilviews/gantt/ganttfrm.h>

Inheritance diagram for IlvGanttResourceHeader:
IlvSheet IlvMatrix IlvAbstractMatrix IlvGadgetItemHolder IlvScrolledGadget IlvGadget IlvSimpleGraphic IlvGraphic

List of all members.

Public Member Functions

 IlvGanttResourceHeader (IlvDisplay *dsp, const IlvRect &rect, IlShort cols, IlShort rows, IlvDim xgrid=IlvDefaultMatrixWidth, IlvDim ygrid=IlvDefaultMatrixWidth, IlvDim thickness=IlvDefaultGadgetThickness, IlBoolean showVSB=IlFalse, IlBoolean showHSB=IlFalse, IlvPalette *pal=0, IlvGanttChartForm *gantt=0)
 Constructor.

Detailed Description

Gantt chart form resource header class.

Library: ilvgantt

IlvGanttResourceHeader is a subclass of IlvSheet. It is implemented to work with an IlvGanttChartForm in order to show the header of the resource table. This object is used to resize the columns in the resource table that is on the left of the IlvGanttChartForm.

See also:
IlvGanttChartForm
IlvGanttResourceLine

Constructor & Destructor Documentation

IlvGanttResourceHeader::IlvGanttResourceHeader ( IlvDisplay dsp,
const IlvRect rect,
IlShort  cols,
IlShort  rows,
IlvDim  xgrid = IlvDefaultMatrixWidth,
IlvDim  ygrid = IlvDefaultMatrixWidth,
IlvDim  thickness = IlvDefaultGadgetThickness,
IlBoolean  showVSB = IlFalse,
IlBoolean  showHSB = IlFalse,
IlvPalette pal = 0,
IlvGanttChartForm gantt = 0 
)

Constructor.

The constructor initializes a new IlvGanttResourceHeader object. You usually do not need to create an IlvGanttResourceHeader. However, you need to create an IlvGanttResourceLine and to specify it as the line graphic model of the IlvGanttChartForm. This is done by calling the setLineGraphicModel() method.

Parameters:
dsp The current display.
rect The initial position of the header.
cols The number of columns.
rows The number of rows, which should be always 1.
xgrid Use the default value.
ygrid Use the default value.
thickness Use the default value.
showVSB Use the default value.
showHSB Use the default value.
pal The palette of the resource header.
gantt The IlvGanttChartForm object.
See also:
IlvGanttResourceLine
 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.