FlexGanttFX Developer Manual : 4.1 Activity

Introduction

Activities represent objects that will be displayed below the timeline in the graphics view of the Gantt chart control. Activities can be added to a specific layer on a row by calling Row.addActivity(Layer, Activity).

Activity Types

The following table lists all available activity types. 

Only mutable activity types can be edited interactively by the user. Any activity type that is not mutable can only be used for read-only purposes.

Activity Interface Base Implementation Description & Attributes Editable
Activity
ActivityBaseBase

The simplest form of an activity.

  • id (String)
  • name (String)
  • startTime (Instant)
  • endTime (Instant)
 
ChartActivity
ChartActivityBaseBase

These activities can be displayed in a chart layout.

  • id (String)
  • name (String)
  • startTime (Instant)
  • endTime (Instant)
  • chartValue (double)
 
CompletableActivity
CompletableActivityBase

These activities carry a percentage value (completion).

  • id (String)
  • name (String)
  • startTime (Instant)
  • endTime (Instant)
  • percentageComplete (double)
 
HighLowChartActivity
HighLowChartActivityBase

These activities can be displayed in a chart layout.

  • id (String)
  • name (String)
  • startTime (Instant)
  • endTime (Instant)
  • high (double)
  • low (double)
 
MutableActivity
MutableActivityBase

The simplest form of a mutable activity. The user can change the start and end time of these activities.

  • id (String)
  • name (String)
  • startTime (Instant)
  • endTime (Instant)
(tick)
MutableChartActivity
MutableChartActivityBase

These activities can be displayed in a chart layout. The user can change the start and end time and the chart value of these activities.

  • id (String)
  • name (String)
  • startTime (Instant)
  • endTime (Instant)
  • chartValue (double)
(tick)
MutableCompletableActivity
MutableCompletableActivityBase

These activities carry a percentage value (completion). The user can change the start and end time and the percentage complete value of these activities.

  • id (String)
  • name (String)
  • startTime (Instant)
  • endTime (Instant)
  • percentageComplete (double)
(tick)
MutableHighLowChartActivity
MutableHighLowChartActivityBase

These activities can be displayed in a chart layout. The user can change the start and end time and the high and low value of these activities.

  • id (String)
  • name (String)
  • startTime (Instant)
  • endTime (Instant)
  • high (double)
  • low (double)
(tick)