4 - Model
- 4.1 - Activity
- 4.2 - ActivityRef
- 4.3 - ActivityLink
- 4.4 - ActivityRepository
- 4.5 - Row
- 4.6 - Model Layers
- 4.7 - LinesManager
- 4.8 - Layout
- 4.9 - Calendars
The following table lists the most important model classes for populating a Gantt chart with data.
Class | Description |
---|---|
Activity | Activities represent objects that will be displayed below the timeline in the graphics part of the Gantt chart. Activities can be added to a specific layer on a row. |
ActivityRef | An activity reference is used to precisely identify the location of an activity where the location is a combination of row, layer, and the activity itself. |
ActivityLink | An activity link can be used to express a dependency between two activities. |
ActivityRepository | Activity repositories are used by rows to store and lookup activities. |
Row | A (model) row object is used to store the activities found on a (visual) row of the Gantt chart. |
Model Layers | Model Layers are used to create groups of activities. |
LinesManager | A lines manager is used to control the layout of (inner) lines inside a row. |
Layout | Each row and each inner line of a row are associated with a layout. The layout influences several aspects during rendering and editing of activities. Additionally several of the system layers used for drawing the row background also utilize the layout information. |
Calendar | A calendar is an extension of an activity repository with the addition of a name and a visibility property. |