Interface Activity

All Known Subinterfaces:
CalendarActivity, ChartActivity, CompletableActivity, HighLowChartActivity, MutableActivity, MutableChartActivity, MutableCompletableActivity, MutableHighLowChartActivity
All Known Implementing Classes:
ActivityBase, ActivityLink, CalendarActivityBase, ChartActivityBase, CompletableActivityBase, HighLowChartActivityBase, MutableActivityBase, MutableCalendarActivityBase, MutableChartActivityBase, MutableCompletableActivityBase, MutableHighLowChartActivityBase, WeekendCalendarActivity

public interface Activity
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).
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    The end time of the activity.
    The unique id of the activity.
    The name of the activity, for example "Flight 3441".
    The start time of the activity.
  • Method Details

    • getName

      String getName()
      The name of the activity, for example "Flight 3441".
      Returns:
      the name of the activity
      Since:
      1.0
    • getId

      String getId()
      The unique id of the activity.
      Returns:
      the unique activity ID
      Since:
      1.0
    • getStartTime

      Instant getStartTime()
      The start time of the activity.
      Returns:
      the activity start time
      Since:
      1.0
    • getEndTime

      Instant getEndTime()
      The end time of the activity.
      Returns:
      the activity end time
      Since:
      1.0