Views
Gantt Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
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 IlvStylable IlvValueInterface

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

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::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
dspThe current display.
rectThe initial position of the header.
colsThe number of columns.
rowsThe number of rows, which should be always 1.
xgridUse the default value.
ygridUse the default value.
thicknessUse the default value.
showVSBUse the default value.
showHSBUse the default value.
palThe palette of the resource header.
ganttThe IlvGanttChartForm object.
See also
IlvGanttResourceLine