Rogue Wave Views Gantt Package API Reference Guide |
Rogue Wave Views Documentation Home |
Gantt chart line class. More...
#include <ilviews/gantt/gantt.h>
Public Member Functions | |
IlvGanttLine (const char *name, IlUShort capacity=1, IlBoolean copy=IlTrue, IlvGraphic *graphic=0) | |
Constructor. More... | |
~IlvGanttLine () | |
Destructor. More... | |
IlUShort | getCapacity () const |
Gets the capacity of the Gantt line. More... | |
void | setCapacity (IlUShort capacity) |
Sets the capacity of the Gantt line to capacity. More... | |
Public Member Functions inherited from IlvGanttAbstractObject | |
IlvGanttAbstractObject (const char *name=0, IlBoolean copy=IlTrue, IlvGraphic *graphic=0) | |
Constructor. More... | |
virtual | ~IlvGanttAbstractObject () |
Destructor. More... | |
IlAny | getClientData () const |
Gets the client data if any has been set. More... | |
IlvGraphic * | getGraphic () const |
Gets the graphic object stored in the Gantt object. More... | |
const char * | getName () const |
Gets the name stored in the Gantt object. More... | |
void | setClientData (IlAny data) |
Sets the new client data in this Gantt object. More... | |
virtual void | setGraphic (IlvGraphic *graphic, IlBoolean destroyOld=IlTrue, IlBoolean redraw=IlTrue) |
Sets the graphic object displayed by this Gantt object to graphic. More... | |
void | setName (const char *name, IlBoolean copy=IlTrue) |
Sets the name of the Gantt object. More... | |
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 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.