![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Gantt chart line class. More...
Public Member Functions | |
| IlvGanttLine (const char *name, IlUShort capacity=1, IlBoolean copy=IlTrue, IlvGraphic *graphic=0) | |
| Constructor. | |
| ~IlvGanttLine () | |
| Destructor. | |
| IlUShort | getCapacity () const |
| Gets the capacity of the Gantt line. | |
| void | setCapacity (IlUShort capacity) |
| Sets the capacity of the Gantt line to capacity. | |
Gantt chart line class.
Library: ilvgantt
An IlvGanttLine object describes a Gantt resource.
| IlvGanttLine::IlvGanttLine | ( | const char * | name, | |
| IlUShort | capacity = 1, |
|||
| IlBoolean | copy = IlTrue, |
|||
| IlvGraphic * | graphic = 0 | |||
| ) |
Constructor.
The constructor initializes a new instance of IlvGanttLine with the parameters you provide. The object stores a copy of the string name if copy is IlTrue, and the string name itself if copy is IlFalse. You can set the graphic parameter to an IlvGraphic object to have a specific representation for this Gantt line.
| name | The name of the Gantt line. This name must be unique in the scope of the Gantt chart. | |
| capacity | Indicates the capacity of this Gantt line. | |
| copy | Indicates whether the object stores a copy of name or the string name itself. | |
| graphic | The IlvGraphic that represents the line. |
| IlvGanttLine::~IlvGanttLine | ( | ) |
Destructor.
The destructor deletes the graphic object and the string name stored in this Gantt line.
| IlUShort IlvGanttLine::getCapacity | ( | ) | const |
Gets the capacity of the Gantt line.
Returns the capacity of the Gantt line.
| void IlvGanttLine::setCapacity | ( | IlUShort | capacity | ) |
Sets the capacity of the Gantt line to capacity.
| capacity | The capacity of the line. |
© 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.